Show/Hide Text Box using JavaScript & jQuery

In this article, you will learn how to show/hide a textbox based on the user’s selection of the drop-down menu. If the user selects yes from the drop-down menu, the text box will appear. Show/Hide a TextBox in Javascript and jQuery HTML <form> <div id="drop-down" name="drop-down"> <label for="travel">Have you visited Europe before? </label> <select name="travel"... » read more

Preventing Multiple Submissions on the Client Side using jQuery

Do you want to prevent the user from submitting the form more than once? To prevent multiple submissions on the client side, you can just disable the submit button so a user cannot click twice. Using the jQuery code below can do the trick. Disable a button using jQuery <form class="" action="" method="post"> <h4>Please enter... » read more