JavaScriptÖеÄÃæÏò¶ÔÏó Àà
<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;
mso-font-charset:1;
mso-generic-font-family:roman;
mso-font-format:other;
mso-font-pitch:variable;
mso-font-signature:0 0 0 0 0 0;}
@font-face
{font-family:"\@ËÎÌå";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
mso-pagination:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman","serif";
mso-fareast-font-family:ËÎÌå;
mso-font-kerning:1.0pt;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
font-size:10.0pt;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:ËÎÌå;
mso-hansi-font-family:"Times New Roman";
mso-font-kerning:0pt;}
/* Page Definitions */
@page
{mso-page-border-surround-header:no;
mso-page-border-surround-footer:no;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:36.0pt;
mso-footer-margin:36.0pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
Ò»¡¢¿ªÆª
ÖÚËùÖÜÖ®£¬JavaScript
ÊÇÃæÏò¶ÔÏóµÄÓïÑÔ¡£JavaScript
µÄ¶ÔÏóÓÐÈýÖÖ£º±¾µØ¶ÔÏó¡¢ÄÚÖöÔÏó¡¢×Ô¶¨ÒåÀàµÄ¶ÔÏó¡£
ÆäÖб¾µØ¶ÔÏóºÍÄÚÖöÔÏó¶¼ÊǶÀÁ¢ÓÚËÞÖ÷ÓÉECMAScript
ʵÏֵġ£ÕâÀïËù˵µÄ±¾µØ¶ÔÏóºÍÄÚÖöÔÏó
Ïà¹ØÎĵµ£º
Optimizing JavaScript code
Authors: Gregory Baker, Software Engineer on GMail & Erik Arvidsson, Software Engineer on Google Chrome
Recommended experience: Working knowledge of JavaScript
Client-side
scripting can make your application dynamic and active, but the
browser's interpretation o ......
¼æÈÝIE¡¢FireFox¡¢Chrome
//¼ÓÔØjs
function loadJs(){
if (!getObj('script_PlData')){
var scriptObj= document.createElement("script");
//scriptObj.id = 'script_1';
&nb ......
$wnd and $doc Calling native JavaScript with JSNI
$wnd ÊÇʲô£¿
GWT provides the $wnd and $doc variables to refer to the window and document objects
GWTʹÓÃͨ¹ýJava Native methodʹÓÃËü£¬ÉùÃ÷Ò»¸önative·½·¨£¬½«º¬ÓÐJavaScriptµÄ·½·¨Ìå×¢ÊÍ¡£±àÒëÆ÷½«×¢ÊÍ¿éÄÚµÄÄÚÈÝÖð×ÖÊä³ö£¬Ê¹Ö®Óë±àÒë²úÉúµÄJavaScriptÕûº ......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>select-option onclick </title>
<script type="text/javascript" >
function simOptionClick4IE(){  ......
ÔÚjavascriptÖжÔÏóͨ³£°üÀ¨Á½ÖÖÀàÐÍ£ºÄÚÖöÔÏóºÍä¯ÀÀÆ÷¶ÔÏ󣬴ËÍ⣬Óû§»¹¿ÉÒÔ×Ô¶¨Òå¶ÔÏó¡£
¶ÔÏó°üº¬Á½¸öÒªËØ£º1.ÓÃÀ´ÃèÊö¶ÔÏóÌØÐÔµÄÒ»×éÊý¾Ý£¬Ò²¾ÍÊÇÈô¸É±äÁ¿£¬Í¨³£³ÆÎªÊôÐÔ¡£2.ÓÃÀ´²Ù×÷¶ÔÏóÌØÐÔµÄÈô¸É¶¯×÷£¬Ò²¾ÍÊÇÈô¸Éº¯Êý£¬Í¨³£³ÆÎª·½·¨¡£
ä¯ÀÀÆ÷¶ÔÏó
¶ÔÏó
º¬Òå
anchor
µ±Ç°ÎĵµÖÐÉèÖÃÁËnameÊôÐԵij¬Á´½Ó
appl ......