litesh80 Posted November 8, 2005 Share Posted November 8, 2005 Hi I am trying to check and uncheck all the checkboxes using a button but I want to achieve this without postback being done...Can anyone help???Its urgent... Link to comment Share on other sites More sharing options...
MadPotato Posted November 8, 2005 Share Posted November 8, 2005 you cant do it by server side, you'll need a cliend-side script, sorryif you want the JavaScript code it's something like this: <input type="button" onclick="document.getElementById('YourChkBox').checked = 'checked'">this code check one check box only...if you want i can post how to check/unckech all of 'em Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now