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.

<input type="checkbox" id="CheckBox1" onclick="window.open('somepage.html','myWindow','width=300,height=200');" />
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.