code is like this
Expand|Select|Wrap|Line Numbers
- <script type="text/javascript">
- function disp_confirm(employeenominationid)
- {
- var r=confirm('Are you sure ?:'+employeenominationid)
- if (r==true)
- {
- window.location = 'Winner.aspx?EmpNomId='++;employeenominationid;
- document.Form1.submit()
- }
- else
- {
- //document.write("You pressed Cancel!")
- }
- }
- </script>