Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

µ÷Óù¤×÷Á÷(Javascript)

function testExe(entityId, wfId) {
var id = crmForm.ObjectId;
var xml = "" +
"<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
"<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">" +
GenerateAuthenticationHeader() +
" <soap:Body>" +
" <Execute xmlns=\"http://schemas.microsoft.com/crm/2007/WebServices\">" +
" <Request xsi:type=\"ExecuteWorkflowRequest\">" +
" <EntityId>" + entityId + "</EntityId>" +
" <WorkflowId>" + wfId + "</WorkflowId>" +
" </Request>" +
" </Execute>" +
" </soap:Body>" +
"</soap:Envelope>" +
"";
var xmlHttpRequest = new ActiveXObject("Msxml2.XMLHTTP");
xmlHttpRequest.Open("POST", "/mscrmservices/2007/CrmService.asmx", false);
xmlHttpRequest.setRequestHeader("SOAPAction", "http://schemas.microsoft.com/crm/2007/WebServices/Execute");
xmlHttpRequest.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
xmlHttpRequest.setRequestHeader("Content-Length", xml.length);
xmlHttpRequest.send(xml);
var resultXml = xmlHttpRequest.responseXML;
return (resultXml.xml);
}
²ÎÊý£º
entityId£º ±íµ¥ID
wfId£º¹¤×÷Á÷ID


Ïà¹ØÎĵµ£º

javascript uuid¼¼Êõ

ÕâÖ÷ÒªÓÃÓÚÑ¡ÔñÆ÷¹ýÂËÖظ´ÔªËØʱÓõġ£
Éæ¼°ÈýÖÖ¿ÉÄܵÄÊֶΣºsourceIndex£¬uniqueIDÓë×Ô¶¨ÒåµÄuuid¡£
sourceIndex »ñÈ¡ÔªËؽڵãÔÚÒ³ÃæµÄ³öÏÖ˳Ðò£¬¼´ÎªÆäÔÚdocument.all¼¯ºÏÖеÄË÷ÒýºÅ¡£ÓÉÓÚҪ׼ȷ»ñÈ¡ÏȺóλÖã¬Èç¹ûÔÚÆäÇ°Ãæ²åÈëÒ»¸öÔªËؽڵ㣬ÄÇôËüµÄλÖþÍÒª¼ÓÒ»¡£»»ÑÔÖ®£¬ËüÊǶ¯Ì¬·ÖÅäµÄ£¬Ã¿´Î¶¼ÒªÖظ´¼ÆËã¡£×¢Ò⣬I ......

JavaScript¾«´â¶ÁÊé±Ê¼Ç(4)

µÚ4ÕÂ
 
º¯
Êý
JavaScript
ÖÐ×îºÃµÄÌØÐÔ¾ÍÊÇËü¶Ôº¯ÊýµÄʵÏÖ¡£Ëü¼¸ºõÎÞËù²»ÄÜ¡£µ«ÊÇ£¬Ïë±ØÄãÒ²ÄÜÔ¤Áϵ½£¬º¯ÊýÔÚ
JavaScript
ÀïÒ²²¢·ÇÍòÄÜÒ©¡£
º¯Êý°üº¬Ò»×éÓï¾ä£¬ËüÃÇÊÇ
JavaScript
µÄ»ù´¡Ä£¿éµ¥Ôª£¬ÓÃÓÚ´úÂ븴Óá¢ÐÅÏ¢Òþ²ØºÍ×éºÏµ÷Ó᣺¯ÊýÓÃÓÚÖ¸¶¨¶ÔÏóµÄÐÐΪ¡£Ò»°ãÀ´Ëµ£¬Ëùν±à³Ì¾Í
Êǽ«Ò»×éÐèÇó·Ö½â³ÉÒ» ......

JavaScript¾«´â¶ÁÊé±Ê¼Ç(7)


http://blog.csdn.net/mouyong/archive/2010/01/31/5275562.aspx
µÚ7Õ  ÕýÔò±í´ïʽ
JavaScriptµÄÐí¶àÌØÐÔ¶¼½è¼ø×ÔÆäËûÓïÑÔ¡£Óï·¨½è¼ø×ÔJava£¬º¯Êý½è¼ø×ÔScheme£¬Ô­Ðͼ̳нè¼ø×ÔSelf¡£¶øJavaScriptµÄÕýÔò±í´ïʽÌØÐÔÔò½è¼ø×ÔPerl¡£
ÕýÔò±í´ïʽÆðÔ´ÓÚ¶ÔÐÎʽÓïÑÔµÄÊýѧÑо¿¡£
ÔÚJavaScriptÖУ¬ÕýÔò±í´ïʽµÄÓï· ......

JavaScript¾«´â¶ÁÊé±Ê¼Ç(8)

http://blog.csdn.net/mouyong/archive/2010/02/26/5329773.aspx
µÚ8Õ  ·½·¨
JavaScript°üº¬ÁËÉÙÁ¿¿ÉÓÃÔÚ±ê×¼ÀàÐÍÉϵıê×¼·½·¨¡£
Array
array.concat(item…)
concat·½·¨·µ»ØÒ»¸öÐÂÊý×飬Ëü°üº¬arrayµÄdz¸´ÖÆ(shallow copy)²¢½«1¸ö»ò¶à¸ö²ÎÊýitem¸½¼ÓÔÚÆäºó¡£Èç¹û²ÎÊýitemÊÇÒ»¸öÊý×飬ÄÇôËüµÄÿ¸öÔª ......

javascript»ñµÃurl²ÎÊý

Ò»¡¢
<script type="text/javascript">
function GetUrlParms()   
{
    var args=new Object();  
    var query=location.search.substring(1);//»ñÈ¡²éѯ´®  
    var pairs=query.split("&");//ÔÚ¶ººÅ´¦¶Ï¿ª&nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ