Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Sep 2007
    Posts
    241
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Textbox hint without jquery

    I am wanting to add a textbox hint for in my driving directions textbox in a google maps app I have made.

    I found a jquery example of exactly what I want: jquery textbox hint

    I am not familiar with jquery framework, is it possible to do this an alternate way?

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,020
    Thanks
    75
    Thanked 4,323 Times in 4,289 Posts
    Can just do it with simple AJAX.

    On each keyup, you send a query to the server with what the user has typed so far and have the server return with a simple list of choices. The list doesn't need to be XML; no reason it can't simply be a single string with a delimiter (e.g., a semicolon or comma between choices...or maybe a newline).

  • #3
    Banned
    Join Date
    Feb 2009
    Posts
    36
    Thanks
    0
    Thanked 7 Times in 7 Posts


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •