Hi,
I'm not really a programmer, but have been tasked with performing some AJAX functions to make a call and return results to my page using getElementByID. I have been able to return search results to the page, but now need to make them clickable as it will lead to another query. E.g., when a user clicks one of the returned categories, it should invoke a query to return products within that category.
Right now, I just want to see how to effectively wrap an HREF around each search result.
Here's the page I'm working on:
http://empress-media.net/jimflynnrentals/gear.html
Here's the javascript I used to return the results to that DIV:
function setDataHTML(xmlHttp)
{
document.getElementById('CollapsiblePanel2').lastChild.innerHTML = xmlHttp.responseText;
}
Any suggestions on how to make these results clickable?
Thanks!