Actually I was replacing from nightly ... but I guess I cannot commit stuff,
right?

On Thu, Feb 12, 2009 at 2:11 PM, John Resig <[email protected]> wrote:

>
> You should add that to this tracking bug:
> http://dev.jquery.com/ticket/4113
>
> --John
>
>
>
> On Thu, Feb 12, 2009 at 8:50 AM, Andrea Giammarchi
> <[email protected]> wrote:
> > Guys, I spot a match in the core of the 1.3.1
> >
> > line 3294
> > s.url += (s.url.match(/\?/) ? "&" : "?") + (s.jsonp || "callback") +
> "=?";
> >
> > in my opinion String.match used as true/false result is useless, slow,
> and
> > memory greedy
> >
> > /\?/.test(s) is about 2X faster
> >
> > ~s.indexOf("?") about 4 times faster
> >
> > Is anybody replacing these matches? It is widely used in the core:
> > if(name.match( /float/i ))
> >     name = styleFloat; // so why create a match in the if?
> >
> > Not sure if /float/i.test(name) would be faster than
> > ~name.toLowerCase().indexOf("float") but I could test if you want
> >
> > Regards
> >
> >
> > On Thu, Feb 12, 2009 at 1:39 PM, Andrea Giammarchi
> > <[email protected]> wrote:
> >>
> >> $.ajax({
> >>     cache:false,
> >>     ...
> >> });
> >>
> >> On Thu, Feb 12, 2009 at 9:43 AM, squiddy <[email protected]>
> wrote:
> >>>
> >>> Hello,
> >>>
> >>> as far as I know, GET requests are far more often cached by the
> >>> browser than POST requests. So maybe this could be a problem here? You
> >>> could try to use POST instead, or add a random value as parameter to
> >>> the request, a timestamp for example.
> >>>
> >>> Otherwise, can you try to be more specific about "it is not retrieving
> >>> latest data"? What does the ajax call return? What's your asp script
> >>> doing?
> >>>
> >>> Besides, I'm just curious, are you passing raw sql commands to your
> >>> server from the outside? Seems like a huge security problem.
> >>>
> >>> Greets
> >>>
> >>> On Feb 11, 11:06 am, SUHAS <[email protected]> wrote:
> >>> > my $.ajax request retriving earlier data.
> >>> >
> >>> > I am retriving data from aspx page passing sql query but it is not
> >>> > retriving latest data. but if I close the brouser and re-open the url
> >>> > it is showing latest data.
> >>> >
> >>> > function saveData(qry)
> >>> > {
> >>> > var dbcommand = "<data><dbname>"+dbname+"</dbname><dbquery>"+qry +"</
> >>> > dbquery><maxrecs>"+n+"</maxrecs></data>";
> >>> >             if(verbose) alert(dbcommand);
> >>> >             var o = $.ajax({
> >>> >                                     type: "GET",
> >>> >                                     url:
> >>> > "http://localhost:1234/dbqex.aspx";,
> >>> >                                     data: "dbcmd="+dbcommand,
> >>> >                                     success: showMessage,
> >>> >
> >>> > error:function(req,textStatus,errorThrown){
> >>> >                                         // if url failes you will get
> >>> > textStatus = 'error'
> >>> >                                         // req and errorThrown do not
> >>> > contain info
> >>> >                                             alert(textStatus);}
> >>> >                     });
> >>> >
> >>> > }
> >>> >
> >>> > please help
> >>> >
> >>> > thanks in adv.
> >>> >
> >>> > Suhas
> >>>
> >>>
> >>
> >
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to