This is preview!
functionfor displaying some
htmlcontent inside a
functionthat calls the above
checkForValidCommand" for the first time and
valueinto the only
textboxand press OK I get an alert with the value of the
textbox. And then when I call the
functionagain and press OK without enetering anything into the
textboxI still get the
alertwith the old
value. What is the problem in my code?