I'm trying to initiate an ajax event from an onclick.
my link code is:
Code:
<a href="404.html" onclick="getContent('test'); return false;">something</a>
Code:
function getContent()
{
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new
Leave a comment: