Bug Tracker

Opened 15 years ago

Closed 15 years ago

#3024 closed bug (invalid)

.html() .text() .val() issue on IE for some tags (a,span)

Reported by: Golchi Owned by:
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:

Description

Hi, On IE , when you try to create a new tag "a" or "span" with a default content, it doesn't work.

Example:

same thing for span $.('<a href="#">').text("I am a link").appendTo("body");

Change History (1)

comment:1 Changed 15 years ago by flesler

Resolution: invalid
Status: newclosed

Some tags demand the closing dash. This should always be included to make it valid html, but I know that links just fail without it.

Note: See TracTickets for help on using tickets.