How To Create Dynamic DropDownList With Jquery?

The place for general PHP questions and hints for PHP on IBM i
Post Reply
amar9450
Posts: 11
Joined: Wed Aug 03, 2016 6:02 am
Location: USA
Contact:

How To Create Dynamic DropDownList With Jquery?

Post by amar9450 » Thu Sep 15, 2016 6:19 am

I try to create dynamic Dropdownlist but still got an error to do this.can anybody help me to build this with appropriate themes?

User avatar
zvika
Zend Global Support
Posts: 996
Joined: Sun Dec 14, 2008 9:48 am
Contact:

Re: How To Create Dynamic DropDownList With Jquery?

Post by zvika » Thu Sep 15, 2016 11:10 am

How is this related to PHP or IBM i?
Google search gives some first results:
https://www.google.com/search?q=creatin ... gAa-r4KwAQ
Zvika Dror
Zend Support Team

dhav5841
Posts: 2
Joined: Wed Mar 01, 2017 7:18 am
Contact:

Re: How To Create Dynamic DropDownList With Jquery?

Post by dhav5841 » Sat Mar 04, 2017 8:10 am

You need to set up a data validation drop-down that allows the choose between two functions

<select name="XYZ">
<option value="">...</option>
<option value="ABC">ABC</option>
<option value="XYZ">XYZ</option>
</select>

<select name="type">
<option value="">--</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>

hope is it ok?

Post Reply