Guest hauntmisery Posted January 2, 2007 Share Posted January 2, 2007 Hello, I need to show a field when a check box is checked and when its not checked i need it to hide it. How can i do this ??? Quote Link to comment https://forums.phpfreaks.com/topic/32528-show-and-hide-field/ Share on other sites More sharing options...
ober Posted January 2, 2007 Share Posted January 2, 2007 That's not something you need AJAX for. That can be setup strictly using JavaScript and the "display" property.display.none; and display.block; will hide/show an element. You can call a JS script from an onChange or onClick event in the checkbox. Quote Link to comment https://forums.phpfreaks.com/topic/32528-show-and-hide-field/#findComment-151385 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.