jquery tooltip ampersand problem
Please, help开发者_JS百科 me to escape ampersand in the tooltips.
When I have <a title = "M & M">
then it works fine, but if there is no spaces between the words and '&' (e.g. "M&M") then it fails and only first part ("M") is shown in the tooltip. The problem is actual for IE only.
Try to use the entity &
instead of the raw &
.
- http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
精彩评论