Jump to content

aleverett

New Members
  • Posts

    2
  • Joined

  • Last visited

aleverett's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I'm currently following your ajax shopping cart tutorial (great tutorial by the way). I was hoping someone could shed some light on one thing I can't quite understand. It's this bit on Part 8 of the videos: - (ive deleted the code in-between to just show the line i mean) function handleSearchResults(results) { productListXml = results; var total = results.getElementsByTagName("result").length; What I don't understand is, what value is held in the variable 'results' which is passed in the function handleSearchResults(results) The variable productListXml is then assigned the value of 'results' but what value is this? And how does it get this value? thanks
×
×
  • Create New...