[jQuery] Re: How to get the responsetext with $.ajax

2009-12-10 Thread Satyakaran
var reponse = xhr.responseText; should not work inside $.ajax () as xhr is assigned after the call. On Dec 9, 6:55 pm, ftw wrote: > hi, > I'am using jquery to get a response from a php page, here it is : > > function verif(thediv) >         { >                 var xhr = $.ajax({ >                

[jQuery] Re: How to make ajax call to subdomain

2009-12-10 Thread Satyakaran
you can call php file on the same domain and from that php file get data from your subdomain page using php. On Dec 10, 1:33 pm, Dominik wrote: > i'm pretty sure this wont work because of the "same origin policy" as > i already mentioned in another thread: > > http://groups.google.com/group/rail

[jQuery] Re: slow performance on this site - any suggestions?

2009-10-23 Thread Satyakaran
I used the slide slow and found that a block is coming and disappearing on left-bottom side. you should try to stop them coming completely. Google's Page-speed is very easy to use tool for website performance. Give it a chance. -- http://www.satya-weblog.com On Oct 22, 7:54 pm, FranktheTank wro

[jQuery] Re: Only one of two fields is required. How to implement this logic in Jquery form validation?

2009-10-11 Thread Satyakaran
whats the problem? just check one field, it it is filled then do not check other. may be your problem is something else On Oct 11, 8:37 am, Phper wrote: > There are two input fields in a form, but only one of them is > required, they are not required at the same time. Either A or B is > required

[jQuery] Re: get the hover color of a link

2009-08-25 Thread Satyakaran
I think you need to change your approach. :hover is not set-able by jquery . I tried this function hover1() { var h = $(':hover', '.test'); $.each( h, function( intIndex, intVal ){ alert($(this).css('color')) } ) } W3Schools1 W3Schools2 W3Schools3 Here on l

[jQuery] Re: How do I write an expression to get all checked items of a certain class?

2008-11-19 Thread Satyakaran
good solution. No one has mentioned which one is the best method. I am trying to learn jQuery this way. On Nov 19, 3:33 am, donb <[EMAIL PROTECTED]> wrote: > Oops, overlooked the 'checked' requirement.  The selectors can be > 'stacked.'  I just tried this and it works: > > $(".subscrCheckbox:chec

[jQuery] Re: calling style

2008-11-06 Thread Satyakaran
Difference between the two code? On Nov 6, 12:36 pm, Satyakaran <[EMAIL PROTECTED]> wrote: >         function load() { >                 //jQuery(function($) { >                         $("#div1").load("starterkit.html"); >                 //})

[jQuery] calling style

2008-11-06 Thread Satyakaran
function load() { //jQuery(function($) { $("#div1").load("starterkit.html"); //}); } OR function load() { jQuery(function($) { $("#div1").load("starterkit.html"); }); } Can you tell me what