954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Check box

Hi,
I am trying the followinfg code could plese help me. I tried in google but dint get....

I need a JavaScript code For checkbox.
If one clicks on the checkbox on click it should open some other page.
Location of the page which contains the checkbox and the which needs to be opened after clicking the checkbox is same in server.
But the new page must open in a new window.

Thanks and Regards.

pointers
Light Poster
34 posts since Oct 2006
Reputation Points: 12
Solved Threads: 1
 
<input type="checkbox" id="CheckBox1" onclick="window.open('somepage.html','myWindow','width=300,height=200');" />
hollystyles
Veteran Poster
1,182 posts since Feb 2005
Reputation Points: 262
Solved Threads: 68
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You