Ajax Reload same page onclick

Posted by user277891 on Stack Overflow See other posts from Stack Overflow or by user277891
Published on 2010-02-21T15:04:35Z Indexed on 2010/06/11 13:02 UTC
Read the original article Hit count: 200

Filed under:
|

Hi,

This is my situation.I have some 10 links on a page. So when user clicks on those links ajax-same page reload must take place.

To be clear I have something like this.

<a href="test.php?name=one">one</a> | <a href="test.php?name=Two">Two</a>

If javascript is enabled,

Onclick, ajax load must take place.

If javascript is disabled, Then the above should work.

Basically I am using "name" to limit some values of my search page.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about AJAX