[jQuery] Re: add element after page has loaded

2009-11-26 Thread Rick van Hoeij
Hey, Best way to make sure that the form has been loaded is to use the load callback function: $('#formGen1').load('formGen1.jsp', function(){ //Callback function: Form has been loaded //Code implementation }); I usualy hide the form that I'm editing until it is ready to be shown. Simple

[jQuery] Re: add element after page has loaded

2009-11-26 Thread edencane
Hi. Thanks. That was what I needed. Kr. Luke. On Nov 26, 6:04 pm, Rick van Hoeij rickvho...@gmail.com wrote: Hey, Best way to make sure that the form has been loaded is to use the load callback function: $('#formGen1').load('formGen1.jsp', function(){    //Callback function: Form has