[jQuery] Re: General question regarding speed

2009-03-24 Thread finco
Thanks for your thoughts. I have datasets of varying sizes from a few rows to several thousand. I do appreciate the flexibility that returning json gives me on the client side although I've done lots of server side manipulation in the past. Intuitively, this seems to mix apples and oranges thou

[jQuery] Re: General question regarding speed

2009-03-24 Thread James
Additionally, since you said its for your Intranet, you probably wouldn't have much lag so I think speed either way. JSON would probably have less data being transferred, but more overhead on the client-side to process the data. HTML would have more data being transferred, but less processing if a

[jQuery] Re: General question regarding speed

2009-03-24 Thread James
I assume you're talking about returning data via AJAX? Returning HTML is probably the fastest if all you're doing is just inserting the HTML into the DOM. However, returning JSON gives you a lot more flexibility if you actually want to do something with the returned data, such as client- side calc

[jQuery] Re: General Question RE: Using jQuery with Wordpress

2009-02-06 Thread jQuery Lover
There is still a js error in your onAfter() function. You have jQuery.noConflict(); set and using $('.imgcap'). My 2 cents. Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 4:09 PM, MH1988 wrote: > > I honestly cannot believe but I've made it work.

[jQuery] Re: General Question RE: Using jQuery with Wordpress

2009-02-06 Thread MH1988
I honestly cannot believe but I've made it work. This has been troubling so much and it's finally worked. What I don't understand is why it did not work in the first place. I also think one important reason I just discovered that you had to load all your CSS files before the jQuery script/s. Which

[jQuery] Re: General Question RE: Using jQuery with Wordpress

2009-02-06 Thread MH1988
Many thanks for your response. Here is the page I have tried to attempt making the jQuery Cycle plugin work correctly: website 1. The first thing I did was add the scripts in my Wordpress theme's header.php: jQuery(document).ready(function(){ jQuery('#frame1').cycle({ fx:'fa

[jQuery] Re: General Question RE: Using jQuery with Wordpress

2009-02-05 Thread jQuery Lover
jQuery works just fine with wordpress. There is nothing in wordpress that may conflict with jquery. Moreover, wordpress admin panel uses jquery. Can you post a link to your page, so we could look into it and try to find out what's causing the problem... Read jQuery HowTo Resource - http:/

[jQuery] Re: general question

2008-01-23 Thread Glen Lipka
Yes, you would have to use a cookie. This plugin might be helpful. http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/ Glen On Jan 22, 2008 9:03 AM, tlob <[EMAIL PROTECTED]> wrote: > > Hi! > > I have a general question. I do a fadeIn/fadeOut with a big logo on > the Homepage. > If the u

[jQuery] Re: General question regarding AJAX and callbacks

2007-12-13 Thread David Decraene
You could make a synchronous ajax call instead, but it will lock the browser until a response is received: something roughly along these lines: $.ajax({ type: "GET", url: "validate.php", data: {value: somevalue} async: false, dataType: somedatatype, success: function(data){...} }); or maybe try

[jQuery] Re: General question regarding AJAX and callbacks

2007-12-13 Thread Rémi Prévost
Oh, and I meant, with an asynchronous request. Sorry, On 13 déc, 09:52, Rémi Prévost <[EMAIL PROTECTED]> wrote: > Hello, > > I've got the following code: > >function validateServer(value) { > var valid; > $.get("validate.php", { "value" : value }, function(data) { >valid =