If <form> is tranformed to <form name="formu" method="post">
in _javascript_, you get value by document.formu.age.value and compare it to
empty value to send alert
p.s. : I never use id I only use name i.e. : <input type="Text" name="name1"
id="name_1"> become for me <input type="Text" name="name1">
steff
-----Message d'origine-----
De : vishnu prasad [mailto:[EMAIL PROTECTED]
Envoyé : Monday, September 20, 2004 8:06 AM
À : CF-Talk
Objet : OT:_javascript_ Problem
Hi all
i have a problem in _javascript_
i have a html File like this
<html>
<head>
<title>Untitled</title>
</head>
<body>
<form>
<table>
<tr>
<td><input type="Text" name="name1" id="name_1"> </td>
<td><input type="Text" name="age" id="age_1"> </td>
<td><input type="Text" name="marks" id="mark_1" > </td>
</tr>
<tr>
<td><input type="Text" name="name1" id="name_1"> </td>
<td><input type="Text" name="age" id="age_1"> </td>
<td><input type="Text" name="marks" id="mark_1" > </td>
</tr>
<tr>
<td><input type="Text" name="name1" id="name_1"> </td>
<td><input type="Text" name="age" id="age_1"> </td>
<td><input type="Text" name="marks" id="mark_1" > </td>
</tr>
<tr>
<td><input type="Text" name="name1" id="name_1"> </td>
<td><input type="Text" name="age" id="age_1"> </td>
<td><input type="Text" name="marks" id="mark_1" > </td>
</tr>
</table>
<input type=submit value="Click" name="final"
> </body>
</html>
if all the columns in a row are empty then no problem ,if one column is
filled other column are not filled in a row then i need to give a alert
how can i do this
Note:all control in a column are same
regards
Vishnu
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

