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

htmlÎı¾¿ò¿Ø¼þµÄ³£ÓÃÊôÐÔ¡¢Ê¼þºÍ·½·¨


´°¿Úʼþ (Window Events)
½öÔÚ body ºÍ frameset ÔªËØÖÐÓÐЧ¡£
ÊôÐÔ Öµ ÃèÊö
onload ½Å±¾ µ±ÎĵµÔØÈëʱִÐнű¾
onunload ½Å±¾ µ±ÎĵµÐ¶ÔØʱִÐнű¾
±íµ¥ÔªËØʼþ (Form Element Events)
½öÔÚ±íµ¥ÔªËØÖÐÓÐЧ¡£
ÊôÐÔ Öµ ÃèÊö
onpropertychange   ½Å±¾ µ±Îı¾ÄÚÈݸıäʱִÐнű¾
onchange ½Å±¾ µ±ÔªËظıäʱִÐнű¾
onsubmit ½Å±¾ µ±±íµ¥±»ÌύʱִÐнű¾
onreset ½Å±¾ µ±±íµ¥±»ÖØÖÃʱִÐнű¾
onselect ½Å±¾ µ±ÔªËر»Ñ¡È¡Ê±Ö´Ðнű¾
onblur ½Å±¾ µ±ÔªËØʧȥ½¹µãʱִÐнű¾
onfocus ½Å±¾ µ±ÔªËØ»ñµÃ½¹µãʱִÐнű¾
¼üÅÌʼþ (Keyboard Events)
ÔÚÏÂÁÐÔªËØÖÐÎÞЧ£ºbase, bdo, br, frame, frameset, head, html, iframe, meta, param, script, style, ÒÔ¼° title ÔªËØ¡£
ÊôÐÔ Öµ ÃèÊö
onkeydown ½Å±¾ µ±¼üÅ̱»°´ÏÂʱִÐнű¾
onkeypress ½Å±¾ µ±¼üÅ̱»°´ÏºóÓÖËÉ¿ªÊ±Ö´Ðнű¾
onkeyup ½Å±¾ µ±¼üÅ̱»ËÉ¿ªÊ±Ö´Ðнű¾
Êó±êʼþ (Keyboard Events)
ÔÚÏÂÁÐÔªËØÖÐÎÞЧ£ºbase, bdo, br, frame, frameset, head, html, iframe, meta, param, script, style, title ÔªËØ¡£
ÊôÐÔ Öµ ÃèÊö
onclick ½Å±¾ µ±Êó±ê±»µ¥»÷ʱִÐнű¾
ondblclick ½Å±¾ µ±Êó±ê±»Ë«»÷ʱִÐнű¾
onmousedown ½Å±¾ µ±Êó±ê°´Å¥±»°´ÏÂʱִÐнű¾
onmousemove ½Å±¾ µ±Êó±êÖ¸ÕëÒƶ¯Ê±Ö´Ðнű¾
onmouseout ½Å±¾ µ±Êó±êÖ¸ÕëÒƳöijԪËØʱִÐнű¾
onmouseover ½Å±¾ µ±Êó±êÖ¸ÕëÐüÍ£ÓÚijԪËØÖ®ÉÏʱִÐнű¾
onmouseup ½Å±¾ µ±Êó±ê°´Å¥±»ËÉ¿ªÊ±Ö´ÐнÅ


Ïà¹ØÎĵµ£º

HTMLÖÐSelect²»ÓÃDisabledʵÏÖReadOnlyµÄÁíÀàʵÏÖ

HTMLÖÐSelect²»ÓÃDisabledʵÏÖReadOnlyµÄÁíÀàʵÏÖ.
<select onbeforeactivate="return false" onfocus="this.blur()" onmouseover="this.setCapture()" onmouseout="this.releaseCapture()">
<option>1</option>
</select>   ......

.net + html ͬÒâ×¢²á

.net ¹¦ÄÜÊ®·ÖÇ¿´ó£¬Æäʵ¿ÉÒÔÖ±½ÓÔÚÀïÃæдһЩhtmlµÄ´úÂ룬±ÈÈçÏñÕâÑù
<asp:CheckBox ID="checksingup" runat="server" Text='I have read and agree to <a href="abc.aspx">This is ABC web</a>'   onclick="ValidateTandCs" />
ÕâÖÖ¿ÉÒÔÓÃÓÚ×¢²áʱµÄ³¬Á´½Óµ½±ðµÄµØ·½£¬µ±È»¿ÉÒÔ·¢»ÓÏëÏñ£¬Ë ......

JSF+HTML±êÇ©×ܽá

*Ò³ÃæµÄ¿ªÍ·
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%>
<%@ taglib uri="http://jsftutorials.net/htmLib" prefix="htm"%>
<%@ tagl ......

java ÕýÔò±í´ïʽ¹ýÂËhtmlÔªËØ

ÏÂÃæÊÇÒ»¸ö¹ýÂËhtmlÔªËصijÌÐò£¬Ò²Ðí¶Ô´ó¼ÒÓеã°ïÖú£¡
/**
      * filter all html element.
      * For example:<a href="www.sohu.com/test">hello!</a>
      * The filter result is :hello!
     ......

html總結£¨ÖУ©

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