Introduction In this post I will show you an example on cascading or dependent dropdown using React JS. When you have a requirement for selecting dropdown values based on another dropdown values then you need to create such cascading or dependent dropdown. For example, in your application you need to select city based on state…

Posted in React JS

Cascading or dependent dropdown using React JS

Introduction In this post I will show you an example on cascading or dependent dropdown using Angular 8/11. When you have a requirement for selecting dropdown values based on another dropdown values then you need to create such cascading dropdown. For example, in your application you need to select city based on state or country…

Posted in Angular

Cascading or dependent dropdown using Angular 8/11

Sometimes we need to select month value from drop-down and for that we hardcode the month values in HTML option fields. It is possible to dynamically generate the month values using PHP and we can use those generated month values in HTML select option tag. You may also read Dynamically generate years in PHP

Posted in PHP

Dynamically generate months in PHP

Here in this example I am going to show you how to generate years in PHP language. Sometimes we need to select year value from dropdown or select/option field and for that we hardcode the year values in HTML option fields. It may be cumbersome at the point when we want to add a new year value…

Posted in PHP

Dynamically generate years in PHP

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

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

Introduction This tutorial shows an example how to add input fields to form dynamically using jQuery. Input field types may be text, textarea or file to the form. We also have added remove button next to the added input field to remove the field if you do not need it. For this example, I have…

Posted in HTML jQuery

Add input fields to form dynamically using jQuery