lily
Newbie
Posts: 1
Registered: 3/16/2005
Member Is Offline
|
| posted on 3/18/2005 at 10:01 PM |
|
|
help escape quotation mark
hello,
how to excape the quotation mark within the string, e.g.
var TREE_ITEMS = [
['<font style="font-size:12px;">Fist Item</font>', 0, .......
many thanks ;-)
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 3/21/2005 at 08:48 AM |
|
|
Nothing to escape.
To prevent script error on mouseover of the item update function item_upstatus (tree.js):
function item_upstatus (b_clear) {
window.setTimeout('window.status=unescape("' + (b_clear ? '' : escape(this.a_config[0] + (this.a_config[1] ? ' ('+ this.a_config[1] + ')' :
''))) + '")', 10);
}
|
|
|