Hi,

In a workflow, I have used the following script :


Code:
--------------------
lastName = lastName.toLowerCase().replace(/[]/g,'a').replace(/[]/g,'e').replace(/[]/g,'i').replace(/[]/g,'o').replace(/[]/g,'u').replace(//g,'c');
--------------------


And it works fine.
But when I put this code in an external script, I have a JS error in my
browser.
Does someone know why ?

Thanks for your help,

MarieNo


--
marieno
------------------------------------------------------------------------
marieno's Profile: http://forums.novell.com/member.php?userid=18876
View this thread: http://forums.novell.com/showthread.php?t=335869