我想知道这个函数是什么意思ajaxFunction(url," 1") [英] I want to know what is the meaning of this function ajaxFunction(url, "1")

查看:122
本文介绍了我想知道这个函数是什么意思ajaxFunction(url," 1")的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的javascript文件中有代码,我想知道这个函数的含义是什么ajaxFunction(url,1); url在这里给出但这里的1是什么意思?



i am having code in my javascript file , I want to know what is the meaning of this function ajaxFunction(url, "1"); url is given here but what is 1 here means?

//alert(element.getAttribute("id") + ":" + element.value);

function populateList(element) 
var strStoreId = document.forms[0].strStoreId.value;
var strApprovingTypeId = document.forms[0].strApprovingTypeId.value;
var strCommitteeFlag = element.value;

var url = "ApprovingAuthorityMstCNT.cnt?hmode=populateList&strStoreId="
        + strStoreId + "&strApprovingTypeId=" + strApprovingTypeId
        + "&strCommitteeFlag=" + strCommitteeFlag;

ajaxFunction(url, "1");  // what is 1 here means??

推荐答案

我们无法回答您,因为我们无法访问您的代码。 ajaxFunction不是内置的JavaScript函数,因此它意味着您可以在某处使用该函数。您所要做的就是找到它,然后您就可以看到参数的用途。
We cannot answer you because we do not have access to your code. ajaxFunction is not a built-in JavaScript function so it means you have the function somewhere. All you have to do is find it and then you can see what the parameter is used for.


这篇关于我想知道这个函数是什么意思ajaxFunction(url," 1")的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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