<script type="text/javascript"> $(document).ready(function(){ $('#Iframe1').submit(function(){ //alert('$(#Iframe1).submit!'); return ture; }); $('#btnSave').click(function(){ //alert($('#frm').submit); document.frames("Iframe1").document.getElementById("hiddenFlag").value = "true"; alert(document.frames("Iframe1").document.getElementById("hiddenFlag").value); $('#Iframe1').submit(); //frm.submit(); }); }); </script>