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

Home Forums JavaScript Use jQuery to parse XML for Select2

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #38668


    I’m trying to use Select2 to build a Select box that loads remote data from an XML file. As you can see, there is a built in ajax query function that I’m trying to use to read an XML file with the following format:

    Agricultural and Life Sciences, College of
    College of Agricultural and Life Sciences


    I’ve struggled with this and I don’t know what to write in order for this to successfully use the built in Ajax query function (specifically the data and results parameters) to search by constituency and output the constituency & url? I’d appreciate any help or guidance. I confess that JavaScript is not a strength of mine.

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.