jquery selectors awaiting category elements list combined an ajax xhr flush rails
when controlling
$('.foo').click(function(){
alert("i haz category alertz!");
relapse false;
});
in application.js, and
<a href = "" category = "foo" id = "foobar_1" >teh foobar </a>
in any div initializes page, clicking "teh foobar" alerts doesn't follow link. however, controlling same formula application.js, and
<a href = "" category = "foo" id = "foobar_1" >teh foobar </a>
is being returned div a
form_remote_tag
when clicked, "teh foobar" fails alert, functions link.
what happening, i around it?
Comments
Post a Comment