Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
User avatar
By ashkufaraz
#793650
Hi
I have a drop down with sql
Code: Select all
SELECT ID,TITLE FROM pmt_organization_type
how can update drop down list after load form.

it is possible reload drop down list with java script?
User avatar
By amosbatto
#793655
You can update the dropdown's list of options with this JavaScript code:
Code: Select all
   var aOptions = getFieldById("myDropdown").executeQuery();
   getFieldById("myDropdown").mergeOptions(aOptions);
See:
viewtopic.php?f=47&t=710110
viewtopic.php?f=47&t=710111

These functions used to be on the wiki, but the developers forced me to remove them, so now I put them on the forum because so many people need them.

Hello. For rental housing, there are software solu[…]

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]