本文介绍了参考错误:未定义功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的代码:


This is my code:


<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Mid - Atlantic</title>
<link rel="stylesheet"  href="<?php echo base_url();?>assets/css/themes/default/jquery.mobile-1.3.2.min.css">
<link rel="stylesheet" href="<?php echo base_url();?>assets/css/jqm-demos.css">
<link rel="stylesheet" href="<?php echo base_url();?>assets/css/stylesheet.css" type="text/css"/>
<script src="<?php echo base_url();?>assets/javascript/jquery.js"></script>
<script src="<?php echo base_url();?>assets/javascript/mvalidation.js"></script>
<script src="<?php echo base_url();?>assets/javascript/jquery.mobile-1.3.2.min.js"></script>
<script type="text/javascript">

    $(document).ready(function()
    {
     alert('Page Loaded');
    });


</script>
</head>
<body>



</form>
</body>
</html>

页面加载期间:警报页面加载"不起作用..为了使其正常工作,我需要刷新它..我希望警报页面加载"要在页面加载后立即显示.(无需刷新)



</form>
</body>
</html>

During page load: alert "page load" in not working..in order to make it work i need to refresh it.. i want the alert "page load" want to display as soon as page load.(no refresh needed)

推荐答案



</form>
</body>
</html>

页面加载期间:警报页面加载"不起作用..为了使其正常工作,我需要刷新它..我希望警报页面加载"要在页面加载后立即显示.(无需刷新)



</form>
</body>
</html>

During page load: alert "page load" in not working..in order to make it work i need to refresh it.. i want the alert "page load" want to display as soon as page load.(no refresh needed)


<script type="text/javascript">



这篇关于参考错误:未定义功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-18 08:42