Bug Tracker

Opened 17 years ago

Closed 6 years ago

#55 closed bug (fixed)

this.set is not a function

Reported by: [email protected] Owned by:
Priority: undecided Milestone:
Component: ajax Version:
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by Ryan J Ollos)

When trying to use:



$("#reply_field dd").html(reply_name);

I get the following error in Firefox 1.5 or Safari on the Mac: this.set is not a function from line 541 of the jquery-svn.js rev. 134:

this[0][n] : this.set( n, h );

My jquery commands are called in the following function which is defined in the html as an onclick command:

function replyTo(comment_id, reply_name){

$("#commentbox").fadeIn("slow"); $("#parent_id").val(comment_id); $("#reply_field dd").html(reply_name);


Basic jquery, so quite surprised to see this error :/

Change History (4)

comment:1 Changed 17 years ago by aaron.heimli

You should be able to fix that by changing line 541 of jquery-svn.js (and jquery/jquery.js in SVN) from:

this[0][n] : this.set( n, h );


this[0][n] : this.attr( n, h );

comment:2 Changed 17 years ago by aaron.heimli

My fixes also exposes issue #56

comment:3 Changed 17 years ago by john

Resolution: fixed
Status: newclosed

Issue resolved in SVN.

comment:4 Changed 6 years ago by Ryan J Ollos

Cc: &#34 &#34 removed
Component: ajax
Description: modified (diff)
Keywords: &#34 &#34 removed
Priority: undecided
Resolution: fixed
Status: reopenedclosed
Type: bug
Note: See TracTickets for help on using tickets.