A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Aug 27, 2003
Oct 17, 2006 03:37:00
in my html the names of my textboxes are like this "attributes(first_name).value"
Now i need to peform a validation on this textbox, let's say mandatory check.
But i don't know how to escape the dot "." that is present in the name of the textbox "attributes(first_name).value"
document.forms.attributes(first_name).value.value then i doesn't work.
Joined: Nov 08, 2001
Oct 17, 2006 04:23:00
I will not ask why in the world they are named like this
You need to use the element array
document.forms.elements["elementName"].value = "asdf";
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
How to populate a value in text box
problem in getting values using EL
Textbox value change event
value after posting
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014