I'm currently developing a web page that accesses a CGI string to query an application and return results to a page: http://empress-media.net/jimflynnrentals/gear_test.html
It currently works to return the list of categories. It uses Javascript methods to return the results to a DIV on the page
function setDataHTML(xmlHttp)
{
document.getElementById('CollapsiblePanel2').lastChild.innerHTML = xmlHttp.responseText;
}
The problem is, I need each of those returned categories to be clickable since clicking on any of those categories, will result in a subquery to show specific product items within that category. I'm thinking PHP would be a better way to go since Javascript isn't great for passing variables into links.
Has anyone done anything similar to this and have code samples I can see?
Any help is greatly appreciated!!
Maile