![]() |
Entity reference not resolving
the js code:
Code:
var sig = $('.sig').eq(0);Code:
<div class="sig"> |
slight modification resolved issue:
changed .text(...) to .html(...).
more info at http://api.jquery.com/text/ |
Javascript naming rules:
A variable name has to start with _ (underscore) $ (currency sign) a letter from [a-z][A-Z] range an Unicode letter in the form \uAABB (where AA and BB are hex values) Notice it can NOT start with a number var lst = '•'; //should resolve to bullet. P.S. Don't understand your question nor your code. Where does bullet come from and more? |
I suspect that my code is a bit confusing...
'.lst' is jQuery notation referencing an element with the classname 'lst' var lst is a js variable whose value is '•', yes, a bullet. I appreciate everyone's collaboration, but no need to lose sleep over this one since it has been resolved. |
| All times are GMT +1. The time now is 03:11 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.