|
I got a solution but not sure whether i should use this or not.
1) I have added another submit button and made it hidden.
<input type="submit" name="Btn_Submit" id="Btn_Submit" style="background: url(accept.jpg) no-repeat scroll center center transparent; cursor: pointer; border: 0pt none; width: 88px; height: 23px;" value="" onclick="contract(<?php echo $j?>);return false;">
<input style="display:none" type="submit" name="btn_submit" id="btn_submit<?php echo $j;?>"></input>
2) Now on javascript function using this code.
if(confirm('Please confirm that this is a binding contract'))
{ document.getElementById('btn_submit'+count_number).click();
}
Using this i can perform the post submission task in Firefox. I will test other browser as well.
Please give me your suggestion.
|