Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getSPCListByConfigGroup(config_group)
- {
- var spc_list="";
- if(navigator.appName == "Microsoft Internet Explorer")
- {
- http_get_spc = new ActiveXObject("Microsoft.XMLHTTP");
- }
- else
- {
- http_get_spc = new XMLHttpRequest();
- }
- http_get_spc.open("POST", "inc/configEdit.php", true);
- http_get_spc.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
- params = "spc_list=" + config_group;
- http_get_spc.setRequestHeader("Content-length", params.length);
- http_get_spc.send(params);
- http_get_spc.onreadystatechange = function()
- {
- if(http_get_spc.readyState == 4)
- {
- spc_list = http_get_spc.responseText;
- }
- }
- return(spc_list.toString());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement