javascript - How to make alert box appears above the current webpage in the browser -


i working vb.net , javascript , when prompt alert box backside page goes blank. learned due post back. there way make alert box appear above current page.

i used below code in submit function:

if true response.write("<script language=""javascript"">alert('hi!');</script>") txtbox1.focus() return end if 

the alert box appears below: enter image description here


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -