jQuery link not fired

I am trying to load some ajax Content, but whenever i click on the link jQuery does not respond.Heres my html with jquery<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”> $.ajaxSetup ( cache: false);var ajax_load = “”; // load() functions $(document).ready(function() $(“#omtA”).click(function() var …

via HTML Language Development » Search Results » ajax:

jQuery link not fired

I am trying to load some ajax Content, but whenever i click on the link jQuery does not respond.
Heres my html with jquery



hans


But when I click on the the Omt link with the id omtA nothing happends.
I have also tried
$(“a#omtA”).click(function()make the link a class and tried
$(“.omtA”).click(function()and
$(“a.omtA”).click(function()But none of that helped.
…………………………..

Use this.. You have missed the closing brace } ..
$(document).ready(function()
$(“#omtA”).click(function()
var loadUrl = “fomt.php”;
$(“#usr”)
.html(ajax_load)
.load(loadUrl, “fid=“);
);
});
…………………………..

It looks like you are missing an ending brace:
$(document).ready(function()
$(“#omtA”).click(function()
var loadUrl = “fomt.php”;

$(“#usr”)
.html(ajax_load)
.load(loadUrl, “fid=“);
);
}/* <- that brace was missing */);

For more info: jQuery link not fired

HTML Language Development » Search Results » ajax

jQuery link not fired

Share this post:

Related Posts

Leave a Comment