Skip to main content

Bug Tracker

Side navigation

#3024 closed bug (invalid)

Opened June 11, 2008 12:49PM UTC

Closed June 11, 2008 10:12PM UTC

.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");

Attachments (0)
Change History (1)

Changed June 11, 2008 10:12PM UTC by flesler comment:1

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.