I have defined a
functionfor displaying some
htmlcontent inside a
functionthat calls the above
When I call the "
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?
Here's the html content in case you want to see: