<html><div style='background-color:'><DIV>
<DIV></DIV>Well, you owe me this one! </DIV>
<DIV></DIV>
<DIV></DIV>the onselectstart turned false disables all the content from being
<DIV></DIV>selected, no matter what you do after this will not help so wei will
<DIV></DIV>filter unwanted items like this:
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<SCRIPT language=JavaScript>
</DIV>> <!--
</DIV>>
</DIV>>function filterSelectability(){
</DIV>>                var inptName=event.srcElement.name;
</DIV>>//Headache! - suppressing error for "undefined" elements
</DIV>>        if (typeof(inptName) == "undefined"){return false}
</DIV>>//making this compare 'true' for all elements named 'field' no
</DIV>>matter the number- helpfull enough!
</DIV>>                var fld=inptName.substring(0,5);
</DIV>>        if(fld=='field'){return true}
</DIV>>                 else{return false}
</DIV>>                }
</DIV>> document.onselectstart = filterSelectability;
</DIV>> // -->
</DIV>> </SCRIPT>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<P><FONT face="Verdana, Geneva, Arial, Sans-serif" size=2><HTML><BR> <HEAD><BR> <TITLE> Trojani </TITLE><BR> <script language='JavaScript'><BR> <!--</FONT></P>
<P><FONT face="Verdana, Geneva, Arial, Sans-serif" size=2>function filterSelectability(){<BR> var inptName=event.srcElement.name;<BR><EM>//Headache! - suppressing error for "undefined" elements <BR></EM> if (typeof(inptName) == "undefined"){return false}<BR> var fld=inptName.substring(0,5);<BR> if(fld=='field'){return true}<BR> else{return false}<BR> }<BR> document.onselectstart = filterSelectability;<BR> // --><BR> </script><BR> </head><BR> <body></FONT></P>
<P><FONT face="Verdana, Geneva, Arial, Sans-serif" size=2> <form name='myBogusForm' action='javascript:void(null)'><BR> <center></FONT></P>
<P><FONT face="Verdana, Geneva, Arial, Sans-serif" size=2> <input name='field1' type='text' value='' size=30 ><br><BR> <input name='field2' type='text' value='' size=30 ><br></FONT></P>
<P><FONT face="Verdana, Geneva, Arial, Sans-serif" size=2> </center><BR> </form></FONT></P>
<P><FONT face="Verdana, Geneva, Arial, Sans-serif" size=2> </body><BR></html><BR> </FONT></P>Had some hard time with undefined items but it is solved now,
<DIV></DIV>Cheers!
<DIV></DIV>
<DIV></DIV>
<DIV> </DIV></div><br clear=all><hr>Protect your PC - <a href="http://g.msn.com/8HMHEN/2755??PS=">Click here</a> for McAfee.com VirusScan Online </html>