I have such function:
Code: Select all
url=javascript:clickfunction=onclick=open_url('anypage.php','my_site_content');
Now I need the same thing but to not open the page but to open javascript. This one
Code: Select all
history.go(-1)
If you place this instead of a page name the function will try to find on your server page history.go(-1). Of course there is no such page, it will give error 404.
Please help on how can I make it work. Here is the ajax function codes: http://javascript.internet.com/ajax/aja ... ation.html