Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderators: ArturoRobles, ArturoRobles

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.

I have a suggest where user have to select some do[…]

The 500 Internal Server Error is the general catch[…]

Really very nice blog information for this one and[…]

This is a long, lengthy and cumbersome process. T[…]