JSON

JSONÊý¾Ý¸ñʽÀí½âѧϰ±Ê¼Ç(5)

×ÖºÅ+ ×÷ÕߣºH5Ö®¼Ò À´Ô´£ºH5Ö®¼Ò 2017-01-22 09:10 ÎÒÒªÆÀÂÛ( )

ÒòΪÕâÊÇÒ»¶Îjavascripts´úÂ룬ËùÒÔËüÃÇÓ¦¸Ã·ÅÔÚscript LANGUAGE=javascript±êÇ©ºÍ/scriptÖ®¼ä¡£!-- ºÍ--ÊǶÔһЩ°æ±¾µÍµÄä¯ÀÀÆ÷Æð×÷Óã¬ÔÚÕâЩÀÏä¯ÀÀÆ÷Öв»»á½«±êÇ©ÖеĴúÂë×÷ΪÎı¾ÏÔʾ³öÀ´¡£ÒªÑø³ÉÕâ¸öºÃÏ°¹ß°


ÒòΪÕâÊÇÒ»¶Îjavascripts´úÂ룬ËùÒÔËüÃÇÓ¦¸Ã·ÅÔÚ<script LANGUAGE="javascript">±êÇ©ºÍ</script>Ö®¼ä¡£<!-- ºÍ-->ÊǶÔһЩ°æ±¾µÍµÄä¯ÀÀÆ÷Æð×÷Óã¬ÔÚÕâЩÀÏä¯ÀÀÆ÷Öв»»á½«±êÇ©ÖеĴúÂë×÷ΪÎı¾ÏÔʾ³öÀ´¡£ÒªÑø³ÉÕâ¸öºÃÏ°¹ß°¡¡£

window.open ("page.html") ÓÃÓÚ¿ØÖƵ¯³öеĴ°¿Úpage.html£¬Èç¹ûpage.html²»ÓëÖ÷´°¿ÚÔÚͬһ·¾¶Ï£¬Ç°ÃæӦдÃ÷·¾¶£¬¾ø¶Ô·¾¶()ºÍÏà¶Ô·¾¶(../)¾ù¿É¡£Óõ¥ÒýºÅºÍË«ÒýºÅ¶¼¿ÉÒÔ£¬Ö»ÊDz»Òª»ìÓá£
ÕâÒ»¶Î´úÂë¿ÉÒÔ¼ÓÈëHTMLµÄÈÎÒâλÖã¬<head>ºÍ</head>Ö®¼ä¿ÉÒÔ£¬<body>¼ä</body>Ò²¿ÉÒÔ£¬Ô½Ç°Ô½ÔçÖ´ÐУ¬ÓÈÆäÊÇÒ³Ãæ´úÂ볤µÄÒ³Ã棬ÕâÖÖjsµ¯³ö¶Ô»°¿òÏëÔçµãµ¯³ö¾Í¾¡Á¿ÍùÇ°·Å¡£


¡¾2¡¢Ôö¼ÓÊôÐÔÉèÖõÄjsµ¯³ö¶Ô»°¿ò´úÂë¡¿

ÏÂÃæÔÙ˵һ˵jsµ¯³ö¶Ô»°¿ò´°¿ÚÊôÐÔµÄÉèÖá£Ö»ÒªÔÙÍùÉÏÃæµÄ´úÂëÖмÓÒ»µã¶«Î÷¾Í¿ÉÒÔÁË¡£
ÎÒÃÇÀ´¶¨ÖÆÕâ¸öjsµ¯³ö¶Ô»°¿òµ¯³öµÄ´°¿ÚµÄÍâ¹Û£¬³ß´ç´óС£¬µ¯³öµÄλÖÃÒÔÊÊÓ¦¸ÃÒ³ÃæµÄ¾ßÌåÇé¿ö¡£

 

 

 ´úÂëÈçÏ ¸´ÖÆ´úÂë

<script LANGUAGE="javascript">
<!--
window.open("page.html", "newwindow","height=100, width=400, top=0,left=0,toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no,status=no")
//д³ÉÒ»ÐÐ
-->
</script>

²ÎÊý½âÊÍ£º
<script LANGUAGE="javascript"> js½Å±¾¿ªÊ¼£»
window.open µ¯³öд°¿ÚµÄÃüÁ
"page.html" µ¯³ö´°¿ÚµÄÎļþÃû£»
"newwindow" µ¯³ö´°¿ÚµÄÃû×Ö£¨²»ÊÇÎļþÃû£©£¬·Ç±ØÐ룬¿ÉÓÿÕ""´úÌ棻
height=100 ´°¿Ú¸ß¶È£»
width=400 ´°¿Ú¿í¶È£»
top=0 ´°¿Ú¾àÀëÆÁÄ»ÉÏ·½µÄÏóËØÖµ£»
left=0 ´°¿Ú¾àÀëÆÁÄ»×ó²àµÄÏóËØÖµ£»
toolbar=no ÊÇ·ñÏÔʾ¹¤¾ßÀ¸£¬yesΪÏÔʾ£»
menubar£¬scrollbars ±íʾ²Ëµ¥À¸ºÍ¹ö¶¯À¸¡£
resizable=no ÊÇ·ñÔÊÐí¸Ä±ä´°¿Ú´óС£¬yesΪÔÊÐí£»
location=no ÊÇ·ñÏÔʾµØÖ·À¸£¬yesΪÔÊÐí£»
status=no ÊÇ·ñÏÔʾ״̬À¸ÄÚµÄÐÅÏ¢£¨Í¨³£ÊÇÎļþÒѾ­´ò¿ª£©£¬yesΪÔÊÐí£»
</script> js½Å±¾½áÊø

 

¡¾3¡¢Óú¯Êý¿ØÖÆjsµ¯³ö¶Ô»°¿ò´°¿Ú¡¿

ÏÂÃæÊÇÒ»¸öÍêÕûjsµ¯³ö¶Ô»°¿òµÄ´úÂë¡£

 

 

 ´úÂëÈçÏ ¸´ÖÆ´úÂë

¡¡

1.±¾Õ¾×ñÑ­ÐÐÒµ¹æ·¶£¬ÈκÎתÔصĸå¼þ¶¼»áÃ÷È·±ê×¢×÷ÕߺÍÀ´Ô´£»2.±¾Õ¾µÄÔ­´´ÎÄÕ£¬ÇëתÔØʱÎñ±Ø×¢Ã÷ÎÄÕÂ×÷ÕߺÍÀ´Ô´£¬²»×ðÖØÔ­´´µÄÐÐΪÎÒÃǽ«×·¾¿ÔðÈΣ»3.×÷ÕßͶ¸å¿ÉÄܻᾭÎÒÃDZ༭Ð޸Ļò²¹³ä¡£

Ïà¹ØÎÄÕÂ
  • ÕÆÎÕ Ajax£¬µÚ 10 ²¿·Ö: ʹÓà JSON ½øÐÐÊý¾Ý´«Êä

    ÕÆÎÕ Ajax£¬µÚ 10 ²¿·Ö: ʹÓà JSON ½øÐÐÊý¾Ý´«Êä

    2017-01-22 11:03

  • JavaScriptѧϰ×ܽᣨÁù£©Êý¾ÝÀàÐͺÍJSON¸ñʽ ÂëÅ©Íø

    JavaScriptѧϰ×ܽᣨÁù£©Êý¾ÝÀàÐͺÍJSON¸ñʽ ÂëÅ©Íø

    2017-01-21 16:06

  • json½Ì³Ì´ÓÈëÃŵ½Ê¹ÓÃ

    json½Ì³Ì´ÓÈëÃŵ½Ê¹ÓÃ

    2017-01-21 12:07

  •  Jsonѧϰ±Ê¼Ç

    Jsonѧϰ±Ê¼Ç

    2017-01-19 10:03

ÍøÓѵãÆÀ
-