jquery mobile - 생각없이 form submit를 하면 hang 걸릴때

불당   
   조회 11629  

옛날 만들어진 코드를 그냥 쓰기 위해서,
form submit를 과거 스탈로 두면,
form submit 후에 hang이 걸려서 꼼짝을 안합니다.
 
ajaxEnabled (boolean, default: true): jQuery Mobile will automatically handle link clicks and form submissions through Ajax, when possible. If false, url hash listening will be disabled as well, and urls will load as regular http requests. ajaxLinksEnabled (deprecated boolean, default: true): jQuery Mobile will automatically handle link clicks through Ajax, when possible. ajaxFormsEnabled (deprecated boolean, default: true): jQuery Mobile will automatically handle form submissions through Ajax, when possible. 
 
<script type="text/javascript" src="<?=$g4['path']?>/../js/common.js"></script>
<script type="text/javascript" src="<?=$g4['path']?>/../js/jquery.js"></script>
 
<script language="javascript">
// screen size를 cookie에 저장
var ScreenWidth=screen.width;
set_cookie("<?=md5('mobile_width2')?>", ScreenWidth, 1, "<?=$g4['cookie_domain']?>");
 
// jQuery Mobile will automatically handle form submissions through Ajax, when possible
$(document).bind("mobileinit", function() {
    $.extend($.mobile, {
        ajaxLinksEnabled: false,
        ajaxFormsEnabled: false
    });
});
</script>
 
<script type="text/javascript" src="<?=$g4['g4m_path']?>/js/jquery.mobile.min.js"></script>
<script type="text/javascript" src="<?=$g4['g4m_path']?>/js/common.js"></script>
 
구글링해서 찾은 부분
 
 
- opencode.co.kr -
데브렉 닷넷마스터
윈도폰7, 실버라이트, ASP.NET, C#, Ajax, jQuery 닷넷 강의.
SBS아카데미컴퓨터학원권신재
실무맞춤교육,수강료조회,취업지원,국비지원,교육브랜드대상, JQUERY
알지오 JQUERY
IT전문교육 실무중심 JQUERY, 원격평생교육시설 정식인가.
파워링크 AD   클릭초이스등록