Re: [jQuery] Append body

2006-10-11 Thread kenton.simpson
There is nothing wrong with your code. You may have another issue. -- View this message in context: http://www.nabble.com/Append-body-tf2419689.html#a6755973 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list

Re: [jQuery] Append body

2006-10-11 Thread Klaus Hartl
sdkester schrieb: I tried appending the body with a div using the following in a js file: $(body).append('div id=ajaxBusy class=ajaxBusyp ../../loading2.gif nbsp;nbsp;/p/div'); It is not working. Maybe I'm going about it wrong. I simply want to insert the above html anywhere in the

Re: [jQuery] Append body

2006-10-11 Thread sdkester
Thank you for the suggestion. I tried that and get an operation aborted error from IE and it won't let me load the page. Any other ideas? Klaus Hartl wrote: sdkester schrieb: I tried appending the body with a div using the following in a js file: $(body).append('div id=ajaxBusy

Re: [jQuery] Append body

2006-10-11 Thread Luke Lutman
Are you running your code before the dom is ready? Try this: $(document).ready(function(){ $(body).append('div id=ajaxBusy class=ajaxBusy.../div'); }); Luke -- zinc Roe Design www.zincroe.com (647) 477-6016 sdkester wrote: Thank you for the suggestion. I tried that and get an

Re: [jQuery] Append body

2006-10-11 Thread sdkester
You were right on the money! It works now. Thank you very much! Luke Lutman wrote: Are you running your code before the dom is ready? Try this: $(document).ready(function(){ $(body).append('div id=ajaxBusy class=ajaxBusy.../div'); }); Luke -- zinc Roe Design

Re: [jQuery] Append body

2006-10-11 Thread Jason Yeckel
// wire the 'Loading...' ajax indicator $('div id=busyLoading.../div') .ajaxStart(function() {$(this).show();}) .ajaxStop(function() {$(this).hide();}) .appendTo('#main'); That is from the form example that emulate a google like load hope that helps ;)

[jQuery] Append body

2006-10-10 Thread sdkester
I tried appending the body with a div using the following in a js file: $(body).append('div id=ajaxBusy class=ajaxBusyp ../../loading2.gif nbsp;nbsp;/p/div'); It is not working. Maybe I'm going about it wrong. I simply want to insert the above html anywhere in the body. Is my code wrong and/or