Yes. This is possible.
1. Create 2 hidden s on the page.
2. Use code similar to this to copy to temp area, fix, then copy back
to original area.
fullCleanWorkSpace.innerHTML = '' + aeObject.DOM.body.innerHTML +
'';
removeAllTags(fullCleanWorkSpace,fullCleanWorkSpace2);
aeObject.DOM.bod
Yes. This is possible.
1. Create 2 hidden s on the page.
2. Use code similar to this to copy to temp area, fix, then copy back
to original area.
fullCleanWorkSpace.innerHTML = '' + aeObject.DOM.body.innerHTML +
'';
removeAllTags(fullCleanWorkSpace,fullCleanWorkSpace2);
aeObject.DOM.bod
here is the function.
It like that fuction is working, but only problem I am having that I need to change the value in the textarea as well so user can see that what his output will be.
And those textarea(s) are dynamic.
so I am passing two values to the function. rcv=what ever they typed and
n
Micheal will you please give me an example how to replace i.e. you mean to do the server side validation???
I need the client side validation.
Ryan, does DOM works in mac as well??
thanks
>I agree. Simply replace after the submit.
>
>Also, you can strip complicated things out using DOM.
>
>We u
I agree. Simply replace after the submit.
Also, you can strip complicated things out using DOM.
We use the DOM to strip out HTML tags such as: Removing FONT tag.
if(child.tagName.toUpperCase() == 'FONT'){
child.removeNode();
}
Good luck.
Ryan Duckworth
Macromedia ColdFusion Certified Profe
> From: Asim Manzur [mailto:[EMAIL PROTECTED]
> I have form with TextArea and _javascript_, which doesn't
> allow user to hit enter key and "|".
>
> The below code is working fine, but if user cut/paster from
> word or notepad then textbox accept the enter key and pipe.
>
> Can someone advise
Instead of checking for these characters while they are typing or
pasting, why not just replace them with nothing when they submit the
form?
From: Asim Manzur [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 3:16 PM
To: CF-Talk
Subject: _javascri
I have form with TextArea and _javascript_, which doesn't allow user to hit enter key and "|".
The below code is working fine, but if user cut/paster from word or notepad then textbox accept the enter key and pipe.
Can someone advise anyway to prevent that??
function kH(e) {
var pK = d
8 matches
Mail list logo