2024-07-01 00:39:53
2024-07-01 04:34:07
2024-07-01 11:57:31
/** 一些基本变量 */
var strFullPath = window.document.location.href;
var strPath = window.document.location.pathname;
var pos = strFullPath.indexOf(strPath);
var prePath = strFullPath.substring(0, pos);
var postPath = strPath.substring(0, strPath.substr(1).indexOf('/') + 1);
var path = prePath + postPath;
function getMeetingIdFromBack()
{
var ajaxurl = path + "\/servlet/JsonAjaxServlet";
var para = "name="+$('#name').val();
var meetingidx = 0;
$.ajax(
{
url : ajaxurl,
type : 'POST',
dataType : 'json',
async : false,
timeout : 20000,
data : para,
error : function()
{
alert('error');
},
success : function(jsonOBJ)
{
meetingidx = jsonOBJ.paystatus;
alert(meetingidx);
}
});
return meetingidx;
}