I can't believe I can't get this and I am stumped...
I'm trying to add the paste/redo/undo/cut functions in my script but nothing I do works, I got copy and select all working but the rest wont work...
here's my code:
I'm using IE6 and this does not have to be compatible with anything other than IE.
Note: I used document.execCommand('blah') in the onClick event statement and it did not work, I used variables, I specified the textarea to the exact address in my scripts and still nothing.
Hopefully someone has encountered this and has a quick fix, would be greatly appreciated...
regards
co
I'm trying to add the paste/redo/undo/cut functions in my script but nothing I do works, I got copy and select all working but the rest wont work...
here's my code:
Code:
<html>
<head>
</head>
<body>
<form name="script">
<textarea name="content" cols=10 rows=10 style="position:absolute; left:0; top:22;"></textarea>
<div>
<br>
<table border=0 style="position:absolute; left:150; top:22;">
<td>
<a href="#" onClick="">Cut</a> <div>
<a href="#" onClick="">Paste</a> <div>
<a href="#" onClick="">Redo</a> <div>
<a href="#" onClick="">Undo</a>
</td>
</table>
</body>
</html>
I'm using IE6 and this does not have to be compatible with anything other than IE.
Note: I used document.execCommand('blah') in the onClick event statement and it did not work, I used variables, I specified the textarea to the exact address in my scripts and still nothing.
Hopefully someone has encountered this and has a quick fix, would be greatly appreciated...
regards
co