[jQuery] livequery help
[jQuery] livequery help
hi,
how can I access the URL of an <a> tag - when I was using the non-
livequery version of this ajax form, I could just use $(this)[0] but
that's returning an html document now, and $(this).href is undefined.
var container = $("#table");
container.find("a").livequery('click', function(e){
e.preventDefault();
$.post("http://www.domain.com/vote4/", {vote4: $(this)[0]} ,
function(data){ $("#table").html( data ); });
})
much appreciated