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

Javascriptµ÷ÓÃWebService

<html>
<head>
    <title>Javascript</title>
   
    <script language="Javascript" type="text/javascript">
    function callMethod()
    {
/*http://localhost/waa/WebService.asmxΪServiceµÄURL£¬È»ºó¼ÓÉÏ?wsdl£¬calServiceΪ¶¨ÒåµÄÒ»¸öÃû³Æ£¬ÀàËÆÉùÃ÷Ò»¸ö±äÁ¿*/
        service.useService("http://localhost/waa/WebService.asmx?wsdl","calService");                                     
        var parm1 = Form1.all.mul1.value;                  //»ñÈ¡µÚÒ»¸ö²ÎÊý £¨´ËServiceÖ»ÓÐÒ»¸ö²ÎÊý£©
        service.calService.callService(callback,"JCZCXX",parm1);    //   JCZCXXΪServiceÖеķ½·¨Ãû                                                
    }
    function callback(res)
    {
        if (!res.error)
            Form1.all.retValue.value=res.value;      //ÅжϷµ»ØÖµ
        else
            Form1.all.retValue.value='¼ÆËã´íÎó';              //¼ÆËã´íÎó
    }
    </script>


Ïà¹ØÎĵµ£º

javascript µÃµ½µ±Ç°Ò³Ãæ¿ÉÊӸ߶ȺͿí¶È

function getHeight(){
    var yScroll;
    if (window.innerHeight && window.scrollMaxY) {
        yScroll = window.innerHeight + window.scrollMaxY;
    } else if (document.body.scrollHeight > document.body.offs ......

javascript»ñµÃÊó±êµÄ¾ø¶ÔλÖÃ

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name=" ......

JavaScript FAQ£¨¶þÊ®ËÄ£©

¶þʮһ¡¢ÉùÒô
1¡¢¿ÉÒÔ²¥·ÅÉùÒôµÄä¯ÀÀÆ÷£¨Audio-enabled Browsers£©
Q£ºÊ²Ã´¿ÉÒÔä¯ÀÀÆ÷¿ÉÒÔÖ´Ðв¥·ÅÉùÒôµÄ½Å±¾£¿
A£ºÈç¹ûÔÚÉùÒô²¥·ÅÃèÊöµÄ¼¼Êõ¿ÉÒÔÔÚMiscrosoft Internet Explorer 4.0¼°Æä¸üа汾Öй¤×÷£¬ÄÇôͬÑù¿ÉÒÔÔÚNetscape Navigator 3.0¼°Æä¸üа汾Öй¤×÷¡£ÒªÔÚInternet ExplorerÖв¥·ÅÉùÒô£¬ÔÚ4.0ÒÔ¼°ºóÀ´°æ±¾Ö ......

ÍøÒ³ÖÆ×÷Javascript¾­µäС¼¼ÇÉ×ܽá


ÍøÒ³ÖÆ×÷Javascript¾­µäС¼¼ÇÉ×ܽá
http://www.webjx.com  ¸üÐÂÈÕÆÚ£º2007-10-12 01:25  ³ö´¦£ºÍøÒ³½ÌѧÍø  ×÷ÕߣºÕ¾³¤ÕûÀí
ÿһÏÊÇJSÖеÄС¼¼ÇÉ£¬µ«Ê®·ÖµÄʵÓã¡
1.document.write(”"); Êä³öÓï¾ä
2.JSÖеÄ×¢ÊÍΪ//
3.´«Í³µÄHTMLÎĵµË³ÐòÊÇ:document->html->(head,body)
4.Ò»¸öä¯ÀÀÆ ......

ÓÃCSS+JavaScriptʵÏÖÎÄ×ÖÉÁ˸Ч¹û

1. CSS
<style>
.dstyle1 {
font-size:13px;
font-weight: bold;
color: #ff6600;
}
.dstyle2 {
font-size:13px;
font-weight: bold;
color: #ffffff;
}
</style>
2. JavaScript
<script type="text/javascript">
m();
function m()
{
document.getElementById("span_new").classNa ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ