eddy556 Posted June 13, 2008 Share Posted June 13, 2008 I would like to use ajax to edit the value of a checkbox. I assumed it would be the same way that you can edit a textbox, such as: document.getElementByID('confirm').value = document.testForm.drop_down.options[document.testForm.drop_down.selectedIndex].value; where if 'confirm' was a textbox it would be populated with the value, however this doesn't seem to work when set to a checkbox control. Thanks for your help Link to comment https://forums.phpfreaks.com/topic/110138-use-ajax-to-edit-checkbox-value/ Share on other sites More sharing options...
adam84 Posted July 11, 2008 Share Posted July 11, 2008 Call me crazy, but it doesnt look like your are doing anything with ajax, just simple javascript. Link to comment https://forums.phpfreaks.com/topic/110138-use-ajax-to-edit-checkbox-value/#findComment-587689 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.