I mean response time using base ajax approach or jquery?

Which one is fast ?

Please tell me

Thanks


On Oct 18, 6:52 pm, MorningZ <[EMAIL PROTECTED]> wrote:
> Can you elaborate on what you mean by "seemless"?  Like mainly, what
> is the issue?  And what is "better results"?  the results should be
> the same if your php code is any code
>
> On Oct 18, 2:27 am, bookme <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> >Jqueryis gr8 I agreed.
>
> > But when I am working on a registration page then thisjqueryis not
> > providing me seamless effect.
>
> > There is two select box - drop down
> > 1 State
> > 2 City
> > when ever a user select a state correspondingly city comes in city
> > drop down.
>
> > I used two apprach for this
>
> > 1Ajax-Jquery
> > $.ajax({
> >   type: "POST",
> >   url: "<?php //echo $html->url('/users/city') ?>",
> >   data: "state_id=" + escape(state_value),
> >   success: function(html){
> >     $("#id_city").html(html);
> >   }
>
> > 2BaseAjaxapproach
>
> > Create a HTTP object : httpObject
> > Open http connection
> > httpObject.open("GET", url,  true);
> > httpObject.send(null);
> > httpObject.onreadystatechange = setOutput;
> > getting response on httpObject.readyState == 4
>
> >BaseAjaxapproach return me better results thenjquery.
>
> > But I need seemless - more better results...
>
> > Can somebody tell me how should I get more better results for this?
>
> > Should I followjqueryinstead ofBaseAJAXapproach?
>
> > Thanks

Reply via email to