blear Posted March 7, 2007 Share Posted March 7, 2007 Hello, I am trying to make an anchor which, when clicked, will toggle a checkbox associated with that anchor (there are many on the page) and then cause a seperate page to submit a form (a hidden frame with a secret form). This is not for any devious purpose. Can someone please give me a little insight as to how this can be done. Thank you in advance. Quote Link to comment Share on other sites More sharing options...
mainewoods Posted March 8, 2007 Share Posted March 8, 2007 you can check or uncheck a checkbox like this: document.getElementById(theItemId).checked=true; document.getElementById(theItemId).checked=false; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.