I removed the quotes. Yet it does not change the problem. "url" is
added as a querystring after the request uri, automatically generated
by the browser (or is that the server?). It's as if my url var was not
recognized as holding an url. Yet if I alert() it, the expected url is
displayed in the al
take the variables out of the quotes, you're just passing strings.
that should sort it out.
jjshell wrote:
Thanks for your answer.
I did it. Now livequery is applied as expected, and the redirect issue
has disappeared. But... the ajax content never gets loaded into the
modal box. Yet the modal
Thanks for your answer.
I did it. Now livequery is applied as expected, and the redirect issue
has disappeared. But... the ajax content never gets loaded into the
modal box. Yet the modal box opens. It just doesn't get loaded with
any content. If I use {ajax: 'url'} it gets loaded, but the query
uncomment the return false
jjshell wrote:
Hi,
Please consider the code below. It should open a modal everytime a
link of a given class is clicked. But... it does not.
//get the url of the link clicked
var url;
$('a.edit').livequery('click',function(){
url= $(this).attr('href');
});
//init
4 matches
Mail list logo