GeeCON Prague 2014*
The moose likes HTML, CSS and JavaScript and the fly likes Urgent- Javascript dynamic listbox and checkbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Urgent- Javascript dynamic listbox and checkbox" Watch "Urgent- Javascript dynamic listbox and checkbox" New topic
Author

Urgent- Javascript dynamic listbox and checkbox

vinod krishnan
Greenhorn

Joined: Jun 13, 2001
Posts: 2
Dynamic list box:
I have 2 list boxes. According to the selection made in one list box the values are populated in the second. In Netscape(other than 6.0) when a selection is made in the first list box the values are populated, but a blank line is shown initially. This works perfectly with IE.Can anybody provide me with a solution to this.
Checkbox:
I want to check a check box when the page is loaded in Netscape. document.formname.checkboxname.checked is not working.
xavier romea
Ranch Hand

Joined: Jun 28, 2001
Posts: 37
CheckBox:
try this
document.formname.checkboxname.checked=true;
 
GeeCON Prague 2014
 
subject: Urgent- Javascript dynamic listbox and checkbox