Jquey的功能不起作用 [英] Jquey fonction not working

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

问题描述

Jquey fonction not working

 < script     src   =  Scripts / jquery-1.4 .1.js    type   =   text / javascript >  < /   script  >  
< script type = text / javascript >
function myFunction(filename){
$ .ajax({
type: GET
url: Location \\ + filename + 。xml
dataType: xml
成功:函数(xml){
alert( );
}
< / script >





它不起作用

解决方案

.ajax({
type: GET
url : 位置\\ + filename + 。xml
dataType: xml
成功:函数(xml){
alert( );
}
< / script >





它不起作用


我可以看到4个打开的括号但是只有三个小括号。

看不到
的封闭括号


.ajax的(

Jquey fonction not working

<script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script type="text/javascript">
function myFunction(filename) {
            $.ajax({
                type: "GET",
                url: "Location\\"+filename+".xml",
                dataType: "xml",
                success: function (xml) {
		       alert("yes");
            }
</script>



it it doesn't work

解决方案

.ajax({ type: "GET", url: "Location\\"+filename+".xml", dataType: "xml", success: function (xml) { alert("yes"); } </script>



it it doesn't work


I can see 4 open brackets But only three close brackets.
Can't see a close bracket for


.ajax(


这篇关于Jquey的功能不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆