[xwiki-users] velocity escape char [ ]
Hi all, I'm try to use javascript into a macro like this document.getElementById('levelone').options[0] = new Option("-Empty \*-",""); but whe it is executed what I get is document.getElementById('levelone').options0 = new Option("-Empty \*-",""); How can I solve this problem??? Thanks all, Raffo
Have you tried with \[0\] ? On Fri, Apr 11, 2008 at 2:14 PM, Raffaele Viola <[email protected]> wrote:
Hi all,
I'm try to use javascript into a macro like this document.getElementById('levelone').options[0] = new Option("-Empty \*-",""); but whe it is executed what I get is document.getElementById('levelone').options0 = new Option("-Empty \*-",""); How can I solve this problem???
Thanks all, Raffo _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Yes I tried but it doesn't work. The result is \0\ Thanks Raffo Guillaume Lerouge wrote:
Have you tried with \[0\] ?
On Fri, Apr 11, 2008 at 2:14 PM, Raffaele Viola <[email protected]> wrote:
Hi all,
I'm try to use javascript into a macro like this document.getElementById('levelone').options[0] = new Option("-Empty \*-",""); but whe it is executed what I get is document.getElementById('levelone').options0 = new Option("-Empty \*-",""); How can I solve this problem???
Thanks all, Raffo _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- http://wikibc.blogspot.com/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://www.nabble.com/velocity-escape-char-----tp16631208p16674519.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On Apr 14, 2008, at 11:22 AM, raffovi wrote:
Yes I tried but it doesn't work.
The result is \0\
If you're using version 1.3.1 then it's a known bug that's fixed in 1.3.2. Thanks -Vincent
Guillaume Lerouge wrote:
Have you tried with \[0\] ?
On Fri, Apr 11, 2008 at 2:14 PM, Raffaele Viola <[email protected]> wrote:
Hi all,
I'm try to use javascript into a macro like this document.getElementById('levelone').options[0] = new Option("-Empty \*-",""); but whe it is executed what I get is document.getElementById('levelone').options0 = new Option("-Empty \*-",""); How can I solve this problem???
Thanks all, Raffo _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- http://wikibc.blogspot.com/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://www.nabble.com/velocity-escape-char-----tp16631208p16674519.html Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (4)
-
Guillaume Lerouge -
Raffaele Viola -
raffovi -
Vincent Massol