i have a login page with a login button and reset button.now when the user enter its id and password and then press enter both the user id and password textbox becomes blank.i checked the tabbed index of the two button thinking it may be due to the reset button but found it to be ok.i want that once the user types the password and press enter it must sucessfully login and not clear the textboxes.how do i do it.
s1986 0 Light Poster
Recommended Answers
Jump to PostFunny, but it goes by which control is created first. Otherwise you have to have set which is which. To be honest, your btnSubmit should be run on the server, and your reset button should be a reset form button in HTML.
And you won't encounter this problem.
All 4 Replies
serkan sendur 821 Postaholic Banned Featured Poster
SheSaidImaPregy 28 Veteran Poster
s1986 0 Light Poster
SheSaidImaPregy 28 Veteran Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.