heyy... i need to print a form and validate data . for both actions i need only one submit button. i did like this.
<input name="btnSubmit" type="submit" onclick="return validate(); window.print() " value="Print Bill" />
bt it is not working.. please can some one give me a help..