Bug Tracker

Opened 7 years ago

Closed 7 years ago

#14102 closed bug (notabug)

setText of label cannot work in Safari

Reported by: redraiment@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.1
Keywords: Cc:
Blocked by: Blocking:

Description

In Safari latest version on OS X Mountain Lion, below code couldn't work:

html: <label id="msg"></label>

js: $('#msg').setText('something');

The message is not show. Change the label to div: <div id="msg"></div>

Then, it works well. (I can see the message).

Change History (1)

comment:1 Changed 7 years ago by dmethvin

Resolution: notabug
Status: newclosed

There is no .setText() method in jQuery. If you are calling one it is a plugin, you should contact the plugin author.

Note: See TracTickets for help on using tickets.