View Single Post
  #2 (permalink)  
Old Mar 14th, 2008, 16:10
smithsf22 smithsf22 is offline
New Member
Join Date: Mar 2008
Location: calgary
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to JS dont get this

oops cut and paste error.... the code is not as shown above it does have the single quotes.... like this:

Code: Select all
 
var x = $get('currentEventInputSelect').value;
if (x == 4)
{
$get('name_dropDownListControl').disabled=true; 
$get('address_dropDownListControl').disabled=true; 
$get('age_dropDownListControl').disabled=true;
}
Reply With Quote