Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other jQuery noob

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22771

    ok here’s the deal ive been working on this for days now and i know it will take you guys only 5 mins to solve my problem.
    basically im trying to make a search using http://docs.jquery.com/Plugins/Autocomp … eplacement

    #47899
    Argeaux
    Participant

    so uhh, what is your problem exactly?

    #47900

    basically in the demo shown it is :

    Code:








    API Reference: (try “C” or “E”)

    and then i added the search feature (http://docs.jquery.com/Plugins/Autocomp … eplacement)

    Code:
    var data = [ {text:’Link A’, url:’/page1′}, {text:’Link B’, url: ‘/page2’} ];
    $(“…”).autocomplete(data, {
    formatItem: function(item) {
    return item.text;
    }
    }).result(function(event, item) {
    location.href = item.url;
    });

    =

    Code:








    API Reference: (try “C” or “E”)

    but when i type "link" or "jquery" nothing turns up

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.