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

[HTML] document domain µÄ˵Ã÷

ÏÈÀ´¿´¶Î´úÂ룺
document.domain = 'ray.com';
Õâ¶Î´úÂëµ½µ×ÊÇʲôÒâ˼ÄØ£¿
Ê×ÏÈ£¬ÎÒÃÇÀ´¿´ÏÂHTML DOM ¹ØÓÚÕâ¸öµÄ˵Ã÷£º
domain of type DOMString, readonlyThe domain name of the server that served the document, or null if the server cannot be identified by a domain name.
 Õâ¶Î»°µÄÒâ˼ÊÇÕâ¸öÖµÊÇDOMString ÀàÐ͵IJ¢ÇÒÊÇÖ»¶ÁµÄ£¬Èç¹ûÕÒ²»µ½ÓòÃûµÄ»°Õâ¸öֵΪnull£¬·ñÔò£¬Õâ¸öÖµ¾ÍÊÇÕâ¸öÌṩÕâ¸öÎĵµµÄÓòÃû¡£
ÔÙÀ´¿´ÏÂfirefox ¹ØÓÚÕâ¸öÖµµÄ˵Ã÷£º
In the DOM HTML specification, this property is listed as being read-only. However, all common browsers including Mozilla will let you set it to a superdomain of the current value. For example, on developer.mozilla.org it is possible to set it to "mozilla.org" but not "mozilla.com".
It is not universally possible in all browsers to set document.domain to a top-level domain (such as "com" or "org") or to a subdomain of a domain on which registrations are restricted (e.g. "co.uk", as registrations on the "uk" domain are restricted).
    Õâ¶Î»°µÄ´óÖÂÒâ˼ÊÇËäÈ»DOM ±ê×¼¹æ¶¨document.domain Õâ¸öÖµÊÇÖ»¶ÁµÄ£¬µ«ÊÇÐí¶àä¯ÀÀÆ÷°üÀ¨»ðºüÔÊÐíËüÉèÖÃΪµ±Ç°ÓòÃûµÄ¸¸ÓòÃû¡£±ÈÈç‘developer.mozila.org’ ¿ÉÒÔÉèÖÃΪ‘mozila.org’µÄÓòÃû£¬µ«ÊDz»ÄÜÉèÖÃΪ‘mozila.com’µÄÓòÃû¡£²»Í¬ä¯ÀÀÆ÷¶ÔÕâ¸öÖµµÄÉèÖÃÖ§³Ö²»Ò»Ö¡£
 ¸ù¾ÝÎÒµÄʵÑ飬ÉèÖÃÁËÕâ¸ödomainÖµºó£¬ËùÓзÇдÔÚ±êǩʼþÖеÄJS¶¼ÎÞ·¨Ö´ÐÐ. 


Ïà¹ØÎĵµ£º

htmlÏà¹ØÓï·¨¡¾×ª¡¿

<! - - ... - -> ×¢½â
<!> ÅÜÂíµÆ
<marquee>...</marquee>ÆÕͨ捲¶¯
<marquee behavior=slide>...</marquee>»¬¶¯
<marquee behavior=scroll>...</marquee>Ô¤Éè捲¶¯
<marquee behavior=alternate>...</marquee>À´»Ø捲¶¯
<marq ......

HTMLÒ³ÃæÌøתЧ¹û

ʹÓøñʽ£ºÔÚÒ³ÃæÖвåÈë
<meta HTTP-EQUIV="Page-Enter" CONTENT="revealtrans(duration=1.0, transition=12)">
<meta HTTP-EQUIV="Page-Exit" CONTENT="revealtrans(duration=1.0, transition=12)">
duration=ʱ¼ä
Transitionv=·½Ê½
˵Ã÷£ºdurationΪҳÃæÇл»µÄʱ¼ä³¤¶È£¬3.000±íʾ3ÃëÖÓ£¬Ò»°ã¿ÉÒÔÖ±½ÓÊ ......

ÈçºÎÄ£Äâµã»÷HTMLÖеÄÁ´½Ó

http://blog.stchur.com/2010/01/15/programmatically-clicking-a-link-in-javascript/
×÷Õß½éÉÜÈçºÎÓÃjavascriptÄ£ÄâÓû§ÕæʵµÄµã»÷¡£
Õâ¿´ÉÏÈ¥ºÃÏñºÜ¼òµ¥£¬¶ÁÈ¡hrefÈ»ºóÀûÓÃwindow.location.href²»¾ÍÐÐÁËÂð£¿
Æäʵ²»È»£¬Ô­ÒòÔÚÓÚÏÖÔÚµÄÍøÒ³ÀïµÄÁ´½Ó²»µ¥ÊÇÖ±½Ó¶ÁÈ¡hrefÊôÐÔÈ»ºóÌøתµ½ÁíÒ»¸öÒ³Ã棬ÓÐЩÁ´½Ó¿ÉÒÔ¼ÓÉÏevent ......

htmlÓëjspǶÌ×Ò»¸öÎÊÌ⣨±¸Íü£©


  <%
     int a =1;
     out.println("<input type='checkbox' value='"+a+"'>");
   
     %>
     
     <%int b =1 ;%>
     <i ......

html總結£¨ÖУ©

ÓÐ關html´°體¿ò¼ÜµÄ問題£¬Èç¹ûÏëÒª實現ÔÚÒ»個畫ÃæÖзָ體£¬並ÇÒͨ過點擊ÆäÖеÄÒ»個´°體£¬鏈½Ó內ÈÝÖÁͬһ個畫ÃæÖеÄÁíÒ»個´°體¡£¾ÍÐèҪʹÓÃ<frameset>與<frame>µÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ