|
-
Jul 18th, 2005, 08:38 AM
#1
Thread Starter
New Member
Retreive Text
Probobly really easy for most of you but...
How would I retreive whatever was typed into a text box. I have a button and a place for the user to enter text. When the button was pressed I call a function and i want it to compare the users text with other values.
I thought this would do it? (Abbreviation is the name of the textbox).
function def()
{
if (document.all.Abbreviation.value == 'A') {
document.all.Abbreviation.value='It worked';
}
-
Jul 18th, 2005, 08:43 AM
#2
Fanatic Member
When your car breaks down,
close all windows and retry 
=> please rate all users posts! <=
-
Jul 18th, 2005, 08:46 AM
#3
Thread Starter
New Member
-
Jul 18th, 2005, 10:00 AM
#4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|