[Javascript] Javascript problem
Ganga K
geekay at mail.ru
Wed Oct 3 03:51:59 CDT 2001
Hi all
The problem that i encounter is really strange or rather i havent
encountered it till now.
I have 2 input fields.
subject and message
<form name = formname>
<input type = text name = subject value = "<%=subject%>">
<textarea name = message rows=20 cols = 50>
</textarea>
</form>
In a javascript function
when i give
document.formname.
I dont see subject listed in the list box where as i see message listed.
If i remove value = "<%=subject%>" then i can see it listed.
Does this happen usually? I have never encountered this problem.
I use this value tag b'coz i use the same form when subject already has a
value and also when a user tries to enter a new thread.
I use visual interdev so i can see the objects of a form using HTML View.
If yes please suggest me a way to use both the value tag as well as to use
them to do validations using javascript
Rgds
Ganga
More information about the Javascript
mailing list