[jQuery] Re: Problem in success function

2009-06-03 Thread ryan.j
it's not working because the value of data isn't ACCT or ACAT. is the response actually returning anything to data? add ... alert( data = + data); to your success case. On Jun 3, 12:03 pm, bharani kumar bharanikumariyer...@gmail.com wrote:   $(document).ready(function(){    

[jQuery] Re: Problem in success function

2009-06-03 Thread bharani kumar
Hi See , i tried like emailInfo.html(data); It print fine , When i out into condition, there i facing Problem , like for example var test = emailInfo.html(data); if(test == 'ACCT'){ emailInfo.html(test); }else{ emailInfo.html(Somthing bla lbla ); } On Wed, Jun 3, 2009 at 4:54 PM,

[jQuery] Re: Problem in success function

2009-06-03 Thread ryan.j
what is the response header's Content-Type? On Jun 3, 12:33 pm, bharani kumar bharanikumariyer...@gmail.com wrote: Hi See , i tried like emailInfo.html(data); It print fine , When i out into condition, there i facing Problem , like for example var test = emailInfo.html(data);

[jQuery] Re: Problem in success function

2009-06-03 Thread bharani kumar
Hi problem fixed, The problem is the white space , I removed the white space got output , Thanks for you interest Bye On Wed, Jun 3, 2009 at 5:35 PM, ryan.j ryan.joyce...@googlemail.com wrote: what is the response header's Content-Type? On Jun 3, 12:33 pm, bharani kumar