ashwin782
10-11-2007, 10:23 AM
TEST BOX TO CLIP board.? PLS HELP ME ... I AM A DUMMY WITH HTML[using front page now] Whats wrong in the below code?
<TEXTAREA ID="holdtext1" cols="35" rows="3" onclick="focus();select();"><a href="http://takeoff.to/funnypictures" title="Orkut and MySpace Funny Pictures and Graphics"><img src="http://i223.photobucket.com/albums/dd86/ashwin782/34469.jpg" border="0" alt="orkut glitter graphics"></a><br><b><a href="http://takeoff.to/funnypictures/" style="color:red;">CLICK HERE to sent similar & more funnier pictures to others</a></b>
<BUTTON onClick="ClipBoard1();"><b><span style="background-color: #FFFF00">COPY THE CODE</span></b></BUTTON>
<SCRIPT LANGUAGE="JavaScript">
function ClipBoard1()
{
Copied = holdtext1.createTextRange();
Copied.execCommand("Copy");
}
</SCRIPT>
when i run in from front page the code is copied properly to clip board ..but when i open in IE it copies only "http://takeoff.to/funnypictures" to clip board ..plsssssssssssss help?????????????????
<TEXTAREA ID="holdtext1" cols="35" rows="3" onclick="focus();select();"><a href="http://takeoff.to/funnypictures" title="Orkut and MySpace Funny Pictures and Graphics"><img src="http://i223.photobucket.com/albums/dd86/ashwin782/34469.jpg" border="0" alt="orkut glitter graphics"></a><br><b><a href="http://takeoff.to/funnypictures/" style="color:red;">CLICK HERE to sent similar & more funnier pictures to others</a></b>
<BUTTON onClick="ClipBoard1();"><b><span style="background-color: #FFFF00">COPY THE CODE</span></b></BUTTON>
<SCRIPT LANGUAGE="JavaScript">
function ClipBoard1()
{
Copied = holdtext1.createTextRange();
Copied.execCommand("Copy");
}
</SCRIPT>
when i run in from front page the code is copied properly to clip board ..but when i open in IE it copies only "http://takeoff.to/funnypictures" to clip board ..plsssssssssssss help?????????????????