babychicken Posted May 29, 2006 Share Posted May 29, 2006 when user typed wrong password and i want to redirect to login page but focus at password textbox . I don't know a lot of asp syntax , so that can u some me where i can learn asp syntax ? ( w3school asp tutorial just have a little ) Link to comment Share on other sites More sharing options...
netcracker Posted May 30, 2006 Share Posted May 30, 2006 when user typed wrong password and i want to redirect to login page but focus at password textbox . I don't know a lot of asp syntax , so that can u some me where i can learn asp syntax ?this is not too much related to ASP... you should and in the <body> the DOM eventonLoad='window.focus()' try sending a certain value to the final step, and when that value is recievedhave that event occure. if variable = "okay" then <body onLoad="window.focus()">else <body>end if hope this should solve the issue... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now