How do I get the callback for load() to wait until the load is
complete?
I'm using the latest version of jquery, and tablednd
onDrop, a form is submitted with 1 hidden value in each row of the
table. I check for the hidden value in the row that was dragged and
dropped, and it is present.
Then I serialize the form and the serialization has all the hidden
values
This page: http://reenie.org/jquery/
is linked to 1.js which has this code:
$(document).ready(function(){
$('#myForm').livequery(function(){
alert('why is this happening?');
return false;
});
});
When the page is first loaded, it triggers the alert. It doesn't seem
like it
not to use it in the ready() event of the document. It works
on the fly.
you can use it with the form when it is going to be submitted
$(function(){
$(#myForm).livequery('submit',function(){
// do your stuff here
});
})
On Sat, May 2, 2009 at 1:56 AM, rodeored
Can I use livequery on ajaxForm?
or is there another way to add event listeners to ajax produced form?
This page redirects to the example
http://reenie.org/test/hffc.php
If you click Login and add any name, the form submits and shows you
logged in.
If you don't add a name the form submits and
(success!);
}
*/
};
$('#loginform').ajaxForm(options);
On Dec 7, 4:34 am, rodeored [EMAIL PROTECTED] wrote:
Can I use livequery on ajaxForm?
or is there another way to add event listeners to ajax produced form?
This page redirects to the examplehttp://reenie.org/test/hffc.php
If you
http://reenie.org/test/jquerytest.html
This uses
$('#container').load('content.html'); to load content from an html
file
http://reenie.org/test/jquerytest.html
This uses
$('#container').load('content.php'); to load from a php file.
Why doesn' t the second one work? They are the same except for
Thanks for the help.
That was the immediate problem, but not my original problem which I
was having on another site, but you did give me the idea of trying to
actually look at the php file(duh)
The problem was an internal error caused by incorrect permission. I
had set the correct permissions
8 matches
Mail list logo