[jQuery] Re: Content Loads then Javascript

2009-07-27 Thread Mushex Antaranian
$(document).ready(function() { /* your code */ }) <-this means that code inside {} brackets will execute after DOM is loaded.. On Jul 27, 5:59 am, Mutual Designs wrote: > How do I prevent the content loading on my website before the > Javascript loads. It seems that all of my Javascript is lo

[jQuery] Re: Content Loads then Javascript

2009-07-27 Thread Mushex Antaranian
Hi Content must be loaded before you can do any manipulations with it via js.. Or you can load content via ajax calls ( i.e. $.load() ) and modify it before appending to document.. But it isn't the most nice way to do it.. Can you explain what exactly you are trying to do ?? Btw i think you are

[jQuery] Intelligent ways of DOM manipulation

2009-07-21 Thread Mushex Antaranian
, but it looks dirty and hard readable. Can you suggest me anything ? Any help appreciated. Thanks in advance. Mushex Antaranian.