Announcement

Collapse
No announcement yet.

how do i use ajax to populate a select field?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • how do i use ajax to populate a select field?

    I have two fields: text field ( actually its a currency in SC terminology) and a dropdown list ( select field).
    what i want to do is when the amount in the text field changes, i populate the select field (dropdown list) based on the text amount ie.
    return users whose amount is greater than the amount in the text field.
    i know how to execute the sql and return the results and i know i have to do it in the ajax event (onAmount_change). what i dont know is how to change/repopulate the select field programmatically! any help?

  • #2
    a variation on this post: http://www.scriptcase.net/forum/show...oad-date-field
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment

    Working...
    X