xsl-list
[Top] [All Lists]

RE: Help me out on Removing the blankspaces from a textarea

2004-10-20 00:22:07
Hi,

I have to replace the "@@@" with a new '\ln' in the document 
which is dynamic.

I guess translate does not work
--------------------------------------------------------------
------------------------
function replaceString() {
      regX = new RegExp("\@@@","g") ;
      
document.form1.TextArea.value=document.form1.TextArea.value.re
place(regX,"\n");
--------------------------------------------------------------
------------------------

Is your question how to replace strings with ECMAScript? You should probably 
then post to some other list, as this is an XSL/XSLT/XPath list.

Cheers,

Jarno - Chris C: Vengeance Is Mine