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…

Posted in jQuery

Dependent Dropdown Example

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.

Posted in jQuery

Adding DropDown or ComboBox dynamically using jQuery

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…

Posted in JavaScript

Auto populate input field using JavaScript

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 and displays the corresponding value. Sometimes we need to submit the form automatically and then we need to do some funther…

Posted in JavaScript PHP

Submit form JavaScript onChange

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…

Posted in JavaScript PHP

Dependent Dropdown Example in PHP, MySQL