hi i have put php code in the function in php code . for example :
<SCRIPT LANGUAGE="JavaScript"> function validate( form ){
<?php . . . ?>
} </script>
plaese help me thanks
yes , you can use php code in javascript like same as you have done <script language=javascript> finction() { <? phpcode here ?> } </script>
but it will prepare javascript when page will load