Hi design_web,
You could set-up a javascript variable.
Right when you start your <script>, you could put a variable like this: (make sure it is outside of the function so it doesnt get rewritten each time your function is called. But you may want to write it to true everytime the function is called.)
var textboxChanged = false;
As soon as they focus, or on blur (I don't know your exact intent), you can change that textboxChanged to true. Then before you submit just check that textboxChanged boolean. How about it?
Joe P
Main Topics
Browse All Topics





by: knightEknightPosted on 2006-03-14 at 20:07:44ID: 16191159
Do you mean this?
if ( textbox.value == "" || textbox.value == ="Click here to type" )