homer.favenir Posted October 15, 2009 Share Posted October 15, 2009 hi, i want my form to know whether its textbox is unchange or not. if($textbox == 'unchanged'){ //do this }else{ //do this } ive been searching all day , but cant find the exact solutions... TIA Quote Link to comment Share on other sites More sharing options...
ILMV Posted October 15, 2009 Share Posted October 15, 2009 Questions: - What is the current value in the text box? Or can this by dynamic? - How are you submitting the form (post, get)? - Is $textbox's value being set in code you haven't specified? Quote Link to comment Share on other sites More sharing options...
homer.favenir Posted October 15, 2009 Author Share Posted October 15, 2009 my text box is not dynamic, when i only edit it, the script should know whether it has been changed or not. im submitting it with post the textbox has already value, because it was only in edit mode. tia Quote Link to comment 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.