This reference is in my HTML <head> section:
and this is in the <body> section:
<li><a title="primary records and research aids, e.g. groups, translators"
With Sarissa.js available on my local machine to do the XML transformation, if I click on the link in an unordered list (a menu), a function in the JS file is called, which does the transformation to populate a div with another unordered list with submenu items, then changes the z-index of that div so that it displays to the right of the original menu.
I know how to do an XML transformation with PHP, but only in two specific cases:
1) A div in the middle of the HTML page contains a PHP script which runs and performs an XML transformation to populate persistent data.
My specific questions are:
1) How do I trigger a PHP script from an onclick event that is not on a form button?
2) Can I store the PHP script in an external file to keep the original HTML page less cluttered?