B
buran
Dear ASP.NET Programmers,
I have a question about a script I'm trying to code and invoke when a button
(btnSave) is pressed on the page. This script should only run when a textbox
(txtAD) on the page is left blank. I tried to use a code snippet with the
"return confirm" function but without success. The code should check whether
the textbox is empty or not, and if empty, it should ask the user to
continue and then run the next code. How can I accomplish this? Thanks in
advance,
Buran
I have a question about a script I'm trying to code and invoke when a button
(btnSave) is pressed on the page. This script should only run when a textbox
(txtAD) on the page is left blank. I tried to use a code snippet with the
"return confirm" function but without success. The code should check whether
the textbox is empty or not, and if empty, it should ask the user to
continue and then run the next code. How can I accomplish this? Thanks in
advance,
Buran