didgydont Posted October 14, 2008 Share Posted October 14, 2008 hi all i have a java script that insert a value into a box is it possibe to make it submit when the data is inserted? i have tried <INPUT size=7 name=$returns onchange=\"document.location.href = 'doedit.php?qheadcol=' + color;\"> and <INPUT size=7 name=$returns onchange=\"this.form.submit();\"> thank you for your time Link to comment https://forums.phpfreaks.com/topic/128342-solved-submit-on-insert/ Share on other sites More sharing options...
didgydont Posted October 14, 2008 Author Share Posted October 14, 2008 never mind i added document.location.href = 'doedit.php?qheadcol=' + color; to the java function Link to comment https://forums.phpfreaks.com/topic/128342-solved-submit-on-insert/#findComment-664835 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.