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:
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
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
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
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);
5 matches
Mail list logo