[Javascript] Hiding select element

Muchacho, Laurent (TWIi London) LMuchacho at twii.net
Tue Jul 29 08:14:38 CDT 2003


Hi Nazir

try this 
http://www.elmuchacho.com/examples/hideSelect.htm

I wrote this a while ago this might put you on the right direction.

Laurent 


-----Original Message-----
From: Nazir Wasim Ahmed [mailto:nazirwa at sakinfotech.co.in]
Sent: 29 July 2003 13:39
To: [JavaScript List]
Subject: [Javascript] Hiding select element



Hello,

I am Nazir. I am new to JavaScript. I would be grateful if any of the gurus
cn help me out in this.

<SCRIPT>
function changeMe() {
	//hide s2 & s3 and display d1 if "daily" or s2 & s3 if "monthly" is
selected.
}
</script>

<form>
<select name=s1 onChange="changeMe()">
<option>Daily</option>
<option>Monthly</option>
</select>

<select name=s2>
<option>Jan</option>
<option>Feb</option>
</select>

<select name=s3>
<option>2002</option>
<option>2003</option>
</select>

<input type=text name=d1>


Thanx,
Nazir

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript


DISCLAIMER - The preceding e-mail message (including any attachments)
contains information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute non-public
information.  It is intended to be conveyed only to the designated
recipient(s) named above.  If you are not an intended recipient of this
message, or have otherwise received it in error, please notify the sender by
replying to this message and then delete all copies of it from your computer
system.  Any use, dissemination, distribution, or reproduction of this
message by unintended recipients is not authorized and may be unlawful. The
contents of this communication do not necessarily represent the views of
this company.


More information about the Javascript mailing list