[jQuery] Re: Ajax problem on Safari/Chrome browsers

2009-09-27 Thread indre1
Well, the problem still seems to be in the get() function. For example, IE gives the following error: Object doesn't support this property or method With: (function($) { $.fn.followUser = function(userId) { this.fadeOut(250, function(){ $.get('profile.php', { do:

[jQuery] Re: Ajax problem on Safari/Chrome browsers

2009-09-27 Thread indre1
it? Is this a bug or just something everyone has to know? Strangely, on FF it all worked. $.get('profile.php', { action: 'addfriend', id: userId } works perfectly. On Sep 27, 1:27 pm, indre1 ind...@gmail.com wrote: Well, the problem still seems to be in the get() function. For example, IE gives

[jQuery] Re: Ajax problem on Safari/Chrome browsers

2009-09-27 Thread indre1
Tested, it can be bypassed with ajax(): $.ajax({ type: GET, url: profile.php, data: do=addfriendid=2 }); But is the get and do thing a bug? On Sep 27, 3:37 pm, indre1 ind...@gmail.com wrote: After 3 DAYS, I finally

[jQuery] Re: Ajax problem on Safari/Chrome browsers

2009-09-27 Thread indre1
not a bug, it's part of the Javascript language. On Sun, Sep 27, 2009 at 7:49 AM, indre1 ind...@gmail.com wrote: Tested, it can be bypassed with ajax():  $.ajax({                   type: GET,                   url: profile.php,                   data: do=addfriendid=2

[jQuery] Ajax problem on Safari/Chrome browsers

2009-09-26 Thread indre1
Any suggestions, why this code is not working on Webkit browsers: (function($) { $.fn.followUser = function(userId) { this.fadeOut(250); $.get(profile.php, { do: addfriend, id: userId }, function(data) { return this.html('pFollower added/p').fadeIn(250);