Skip to content
Advertisement

Tag: checkbox

check checkbox and trigger change event javascript

I want to trigger change event and check checkbox from javaScript not jQuery. I am having issues with jQuery because of this Strange Behaviour. What i used to do with jQuery is: I want same to do with javaScript. This must be really simple but i could not find the way . please help thanks in advance Answer There’s a

How can I make a checkbox readonly? not disabled?

I have a form where I have to post form values to my action class. In this form I have a checkbox that needs to be readonly. I tried setting disabled=”true” but that doesn’t work when posting to the action class. So please advice?? Answer You can easily do this by css. HTML : CSS : Demo

Advertisement