I have a anchor tag with href like this:
HTML Code:
<a href="page.php?accept=id">Link</a>
.

Id is coming after a database query.
I want to make it with ajax. How to call php page with ajax?
On success, that link should be disappeared and a success text should be appear.

I am confused calling ajax with parameters. Any quick help will be appreciated.