SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Script.aculo.us Issue

    Hey,

    I recently set up an autocomplete function that allows the user to select their highschool, using script.aculo.us, and it works pretty well, other than a few little things.

    1) I'd like able to narrow down the entries based on their state that they choose from their dropdown, but I haven't a clue how to do this. Does any one have any insight into this?

    also

    2) Here's how the output list looks right now:
    Code:
    <li>
    Highschool Name - City, State
    </li>
    Would it be possible to get rid of the bolded area once the user selects their school? No idea how to do this either - as you can guess, I'm new to script.aculo.us


    Here's the code I'm currently using for the function
    Code:
    <script type="text/javascript" language="javascript" charset="utf-8">
    new Ajax.Autocompleter(
    "autocomplete",
     "autocomplete_choices",
     'extra/scriptaculous/hsSelect2.php',
     {minChars: 1, indicator: 'indicator1'});
    </script>
    Thanks a lot in advance!

  2. #2
    SitePoint Member
    Join Date
    Aug 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anybody have any idea?


Bookmarks

Posting Permissions

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