Halo,
Property element.value untuk <select> memang hanya jalan dengan baik di IE.
Coba alert-nya diganti:
alert(childForm.subject.options[childForm.subject.selectedIndex].value)

Indradjit Harbani
http://www.kemangnet.com/

-----Original Message-----
From: Teddy Setiawan [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 04, 2001 10:18 PM
To: [EMAIL PROTECTED]
Subject: [webauthor] error javascript


halo, buat yang ahli javascript, minta bantuannya nih.
script di bawah ini di internet explorer jalan dengan baik tapi di netscape
kok hasil resultnya null yah?
apa ada salah dengan penulisan javascriptnya?

<FORM NAME="childForm" >
<font face="Verdana" size="2"><b>Subject List</b></font>
<p><select size="1" name="subject">
<option value='cs4001--object oriented software development'>cs4001--object
oriented software development</option>
<option value='cs4011--web application engineering'>cs4011--web application
engineering</option>
</select><br>
<BR><INPUT TYPE="SUBMIT" VALUE=" OK "
ONCLICK="alert(childForm.subject.value)">
</p>
</FORM>



thanks in advance
ted



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


* Forum Diskusi Hosting: http://groups.yahoo.com/group/diskusihosting
* IndoWebForum Discussion http://www.indowebforum.com/

-----------
Berhenti langganan kirim email ke [EMAIL PROTECTED]
Arsip di http://www.mail-archive.com/[email protected]/



* Forum Diskusi Hosting: http://groups.yahoo.com/group/diskusihosting
* IndoWebForum Discussion http://www.indowebforum.com/

-----------
Berhenti langganan kirim email ke [EMAIL PROTECTED]
Arsip di http://www.mail-archive.com/[email protected]/

Kirim email ke