* and then Dennis Seavers declared.... > You should be able to use the comment tags, just put them inside the > <script> tags: > > echo "<script language=\"javascript\" type=\"text/javascript\"> > <!-- > this.print() > //--> > </script>"; > > I don't believe you need a semi-colon after this.print within the > javascript script.
Cool, thanks Dennis that's great ;-) -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php