PHP gevorderde |
|
event moet weg
function attachListeners() {
$('#previousPost').bind("click", showPreviousPost(event));
$('#nextPost').bind("click", showNextPost(event));
}
function showPreviousPost(e) {
alert("test1");
}
function showNextPost(e){
alert("test1");
}
function attachListeners() { $('#previousPost').bind("click", showPreviousPost(event)); $('#nextPost').bind("click", showNextPost(event)); } function showPreviousPost(e) { alert("test1"); } function showNextPost(e){ alert("test1"); }
|