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

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -