Dependent Dropdown Example

This tutorial will show you how to create dependent or cascaded dynamic dropdown using jQuery. Sometimes you need to create such a cascaded dropdown where you need to select some value in the second dropdown based on first dropdown value. For example, you may need to select city dropdown value based on country dropdown value and for this you cannot…

Adding DropDown or ComboBox dynamically using jQuery

This tutorial will show you how we can create combobox using jQuery. We will also alert the value when we select the item from the combobox or dropdown.

Auto populate input field using JavaScript

This tutorial example shows how to populate HTML input fields in form automatically when a page is loaded or when a checkbox is checked. The below example has three fields and one of then gets populated when the page is loaded and another one of them is populated when checkbox is checked. Sometimes you may need to auto populate the…

Submit form JavaScript onChange

Auto Submit HTML Form This tutorial example shows how to submit form automatically when a radio button is selected. The below example has two radio buttons and when one of them is selected then the form gets submitted automatically and displays the corresponding value. Sometimes you may need to submit the form automatically. Based on form submission, you may need…

Dependent Dropdown Example in PHP, MySQL

Introduction This tutorial shows how to create dependent dropdown in PHP and MYSQL. This is also called cascaded dropdown. This tutorial uses JavaScript to submit the form automatically when the first dropdown value is selected. Sometimes you may need to create such a cascaded dropdown when you need to select some value in the second dropdown based on first dropdown…