I want to be able to display the following code below only when a user clicks a specific link. Is it possible with JQuery? If so how would I be able to do this?
Here is my code.
function signedIN(){
$.ajax({
type: "GET",
url: "http://update.php",
data: "do=getID",
cache: false,
async: false,
success: function(result) {
$("#status").text(result);
},
error: function(result) {
alert("some error occured, please try again later");
}
});
}