Side navigation
#14102 closed bug (notabug)
Opened July 04, 2013 11:28AM UTC
Closed July 04, 2013 03:25PM UTC
setText of label cannot work in Safari
Reported by: | redraiment@gmail.com | 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).
Attachments (0)
Change History (1)
Changed July 04, 2013 03:25PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
There is no
.setText()
method in jQuery. If you are calling one it is a plugin, you should contact the plugin author.