It is working but im trying to get it to work with AJAX, i have a page and i want the link to show up say as /releases.htm but to have two variables in the 'real' link to say what page to go to and what sort order like, show only ones starting with a or show all results.
The orginal url is /releases.php?page=1&stype=a but im not sure if i mod_rewrite the url too /releases.php will the ajax script pick up on the different variables and populate the page properly?
Its just im unsure if the mod_rewite has to have the variable in the new url!
the ajax call has to go to the server and bring you back the responseText so the RewriteRule will work if properly formated.
If you don't want to add the url to the onclick you can create eventListener for the respective link itself.