Form Validation Using Jquery Examples
When you include forms on your website for user input, it is always advisable to perform some validation on the data entered. This not only ensures that your application receives the type of data it can work with, but it also makes for good UX (user experience) as users will be able to be warned of the incorrect input and be given hints of the kind of data that is acceptable.
Loading a Drop Down List Using jQuery
To load a drop down list (or a simple list) from a database, there are different ways. One is to embed PHP code in the HTML code, that loops through the rows in the database and adds <option> </option> tags. <select name='mylist' id='mylist' size='1'> <?php while($rec = mysql_fetch_assoc($result)) { echo "<option>".$rec['name']."</option>"; } ?> </select> A better alternative is to dynamically load the list using Ajax. There are several advantages: In the earlier method, the generated HTML page can become too big making it too long to load the page.
How to create a working jquery email form without PHP
If you’re looking to create an HTML form, you’ll find numerous HTML code samples on the internet. However, setting up a usable back-end script for processing form submissions can be challenging, and it’s not easy to configure and maintain. Thankfully, Ratufa can help you out. Ratufa.io is a form back-end service that allows you to connect your HTML form to a back-end without any PHP script. With just one line of code, you can connect your form to Ratufa.