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.

Web3 development encompasses creating decentralize[…]

The Upland Clone Script, offered by Dappsfirm, rep[…]

Dappsfirm offers a bet365 clone script that mirror[…]

🚀 Tauchen Sie mit Immediate Alora AI in die Welt d[…]