hi guys, this is the scenario, i have two textboxes, then a submit button.
now, when the user clicks the submit button, it will verify if both textboxes have values,
otherwise, if only one of them is empty, an alert box will be displayed prompting the user to complete the information. this scenario is perfect and is working out fine. now, what i want to happen is that, the alert box will be displayed then the value inputted by the user on the textboxes will not be erased. how is that so?
xuexue 15 Junior Poster
qazplm114477 14 Junior Poster
xuexue 15 Junior Poster
lyrico 23 Junior Poster in Training
happytogether 6 Junior Poster in Training
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.