[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Clean XSL code for the following javascript
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..
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|