Bug Tracker

Modify

Ticket #60 (closed bug: fixed)

Opened 7 years ago

Last modified 6 years ago

.html( string ) sets attribute

Reported by: anonymous Owned by:
Priority: minor Milestone: 1.0
Component: core Version: 1.0
Keywords: Cc:
Blocking: Blocked by:

Description

When using the jQuery .html() function, it adds attribute called "innerHTML" with the string you passed. While if you did it the normal way elment.innerHTML = string, it doesn't.

Change History

comment:1 Changed 7 years ago by john

  • Status changed from new to closed
  • Version set to 1.0
  • Resolution set to fixed

This problem has been resolved in SVN.

comment:2 Changed 7 years ago by john

  • Status changed from closed to reopened
  • Resolution fixed deleted

Oops, not fixed.

comment:3 Changed 7 years ago by Yehuda

Of all of the problems I encounter on a day-to-day basis, this is probably the most annoying. When I use Firebug to inspect the page, I get these huge, ugly innerhtml="tons of stuff here" that make it difficult to properly inspect the source.

comment:4 Changed 7 years ago by john

  • Status changed from reopened to closed
  • Resolution set to fixed

Fixed in SVN rev 228.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.