Try wrapping the "this" inside parentheses:
$(this).someMethod
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of CF
Sent: Monday, April 02, 2007 3:48 AM
To: jQuery (English)
Subject: [jQuery] [Newbie] Why this. doesn't work?
Hi,
I have this Jav
Hi,
> I have this Javascript in JSON notation and using the jQuery Ajax.
>
> var objectJSON = {
> myvalue: "hello",
> myFunction: function(param) {
> this.myvalue = param;
> $.ajax({
> type: "POST",
> url: '/ajax/address.php',
>
2 matches
Mail list logo