What is the cleanest way to code the following javascript code in my XSL:
<a href="#" onlick="Position.clone('ElementA', 'ElementB', {setHeight:
false, setWidth: false})">-click-<a/>
These are the correct (??) unicode characters for:
{ = B;
} = D;
Here is where I found these codes:
http://www.unicode.org/charts/PDF/U0000.pdf
I tried injecting this straight into the onlick attribute, but failing
with a decimal syntax issue... (which I haven't seen before).
So I tried:
<a href="#" onclick="Position.clone('{$ElementA}', '{$ElementB}',
B;setheight: false, setWidth: false D;)">-click me-</a>
The exact error is:
Invalid character in a decimal number 'B'
Karl..
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--