0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

Fill in one input box, fills out another (ajax)

    • Adamck's Avatar
    • Adamck
    • Elite Rocketeer
    • Posts: 546
    • Thanks: 2
    • Web Developer, IT Assistant, Graphics design, App Developer

    Fill in one input box, fills out another (ajax)

    Posted 14 years 6 months ago
    • Hi Guys.
      I need a form where users can enter a postcode, then it runs a query and fills out another box with the result.
      For example.

      User fills in postcode:
      OX8 7BL
      triggers a query
      Query = SELECT `name` FROM `jos_users` where `postcodes` like '%OX8%'

      Result = someuser

      add the result to a different textbox.

      Can this be done via ajax? or a mootools script?

      Any ideas?
    • Kiss my RSS

Time to create page: 0.072 seconds