MrOptimistic Posted February 29, 2012 Share Posted February 29, 2012 guys please help me i need it very badly T_T what i want is if(textbox=disable/enable){do code} using submit button thanks... and is this possible?? if(<?php echo $stocks[0]; ?>==disable/enable){do code} thanks please help me im just new in javascript Link to comment Share on other sites More sharing options...
eTianbun Posted February 29, 2012 Share Posted February 29, 2012 textbox=document.getElementById('input');if(textbox.disabled){//if disabled, do this }else{//if not, just do this instead} Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.