[jQuery] Re: Does the "ready" event wait for JavaScript files to be downloaded?

2009-03-10 Thread Iair Salem
I think you can use the getScript method (http://docs.jquery.com/Ajax/ jQuery.getScript) Although It does not work perfect in Safari 2 (Hey, Safari 4 is almost here!) you can use the callback function as the ready function you were asking for. It works all between the same domain, but If you want

[jQuery] Re: Calling PHP Functions from jQuery?

2008-07-14 Thread Iair Salem
I've made something very similar, and I suggest you to try it out, because it extremely simplifies ajax. Iair. On 14 jul, 11:54, Giovanni Battista Lenoci <[EMAIL PROTECTED]> wrote: > Yavuz Bogazci ha scritto: > > > Hi, > > > is it possible to call php functions from jquery? I knew how to call > >

[jQuery] Re: passing 0 to html() doesn't work like it does for other numbers

2008-06-17 Thread Iair Salem
I would take it as undesired behaviour. but the reason is obvious. So, if the .html(number) is variable, you could workaround it by forcing it to eval as string: .html("" + number) I'm not sure, but it seems to be ok. Iair. On 16 jun, 21:02, Lowell <[EMAIL PROTECTED]> wrote: > When I call html(5)

[jQuery] Re: How to know if the entire page has loaded, AFTER it has loaded? [advanced]

2008-03-07 Thread Iair Salem
ion, please share it with the group. On 7 mar, 10:30, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > Use the "good old" "load" event. > > $(window).load(function () { > // run code > > }); > > ( fromhttp://docs.jquery.com/Events/load) > &g

[jQuery] Re: How to know if the entire page has loaded, AFTER it has loaded? [advanced]

2008-03-07 Thread Iair Salem
Sorry about not being so clear: what I exactly want is to know if window has loaded. I need to be sure if all the IMAGES had been loaded, that's why jQuery.isReady is useless for me. jquery.isReady equals true when DOM is loaded, but not the images. I hope someone could help me. Iair Salem

[jQuery] How to know if the entire page has loaded, AFTER it has loaded? [advanced]

2008-03-06 Thread Iair Salem
ction(){ isPageLoaded=true; } ); This will workaround the problem and fix it partially (because in theory this won't work when loading scripts dinamically) If you have a better solution, please share it with the group. Thank you, Iair Salem

[jQuery] Re: append problem in ie7

2008-03-05 Thread Iair Salem
Try: $(this).text(resources[lang][id]); On 5 mar, 07:07, Don <[EMAIL PROTECTED]> wrote: > hi guys, > Im new to jquery. I have this problem and I think you guys can answer > it. Here's the source code of the file that I am working on. The > purpose of this script is to change the label into differ

[jQuery] Re: append problem in ie7

2008-03-05 Thread Iair Salem
I don't see my previous message... Try: $(this).text(resources[lang][id]); On 5 mar, 07:07, Don <[EMAIL PROTECTED]> wrote: > hi guys, > Im new to jquery. I have this problem and I think you guys can answer > it. Here's the source code of the file that I am working on. The > purpose of this scrip

[jQuery] Re: Using getScript to load an array of scripts with callbacks

2008-02-23 Thread Iair Salem
As you might already know, there is a nice plugin you can find at http://www.creativit.com.br/jquery/ondemand_js/index.htm play with it... you maybe end up understanding a litte more on dinamic script loading. But my question remains: As native $.getScript() documentation noticed("Warning: Safa

[jQuery] Re: How to dynamically load jQuery plugins?

2008-02-15 Thread Iair Salem
I'm not sure, but in some safari versions (maybe < v2.0) you have to wait some time before using the code included, because it could not be completely loaded yet. does someone have any better way to acomplish that in a cross-browser fashion? Iair. On Feb 15, 3:49 pm, Jamie <[EMAIL PROTECTED]> wr

[jQuery] Re: jCarousel with FF 2.0.0.11

2008-01-31 Thread Iair Salem
Same problem. On Jan 3, 7:54 pm, Avik <[EMAIL PROTECTED]> wrote: > Hi, > > I'm facing issues while using jCarousel 0.22 with FF 2.0.0.11. Firebug > is suggesting there is an error on line 813 of the jcarousel.jquery.js > file. The code is as follows: > > this.clip[0].offsetWidth .. > > The er

[jQuery] jquery native serialize Array/Object into JSON?

2008-01-23 Thread Iair Salem
stringify() Thank You, Iair Salem.