.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" />
ÕâÖÖ¿ÉÒÔÓÃÓÚ×¢²áʱµÄ³¬Á´½Óµ½±ðµÄµØ·½£¬µ±È»¿ÉÒÔ·¢»ÓÏëÏñ£¬ËùÓÐText¶¼¿ÉÒÔÕâôÓá£
<asp:CustomValidator ID="cvTerms" runat="server" ValidationGroup="signupGroup" Display="Dynamic"
ClientValidationFunction="ValidateTandCs" EnableViewState="false" ErrorMessage="<%$Resources:Message,needagree%>" />
//Õâ±ßerrormessageÊǵ÷ÓÃÈ«ÓòµÄmessageÕâÑù¸ÄÆðÀ´»á¸ü·½±ãЩ
<script language="javascript" type="text/javascript">
function ValidateTandCs(source, args)
{
args.IsValid = document.getElementById('<%= checksingup.ClientID %>').checked;
}
</script>
¶ÔÓÚjs£¬ÕâÀï.netµÃµ½µ±µÄ·½·¨»¹ÊǺܶàµÄ£¬ÕâÒ²ÊÇÆäÖÐÒ»ÖÖ
Ïà¹ØÎĵµ£º
ѧϰSEOÐèÒªÁ˽âÍøÒ³ÖÆ×÷£¬·ñÔòÍøÕ¾±¾ÉíµÄÓÅ»¯¾ÍÎÞ´ÓÏÂÊÖ¡£±È½ÏÁ÷ÐеÄÍøÒ³ÖÆ×÷¹¤¾ßÊÇMicrosoft¹«Ë¾¿ª·¢µÄ
Dreamweaver£¬Ö§³ÖËù¼û¼´ËùµÃµÄ±à¼·½Ê½£¬ÔÚÕ¾µãµÄ¹ÜÀí·½Ãæ×öµÄÒ²ºÜ³öÉ«£¬²»ÐèÒªÄãÕÆÎÕºÜÉîµÄÍøÒ³ÖÆ×÷¼¼Êõ֪ʶ£¬ÉõÖÁ²»ÐèÒªÄãÁ˽â HTMLµÄ»ù±¾Óï·¨¡£Ëü»¹Ö§³Ö²ãµÄ²Ù×÷£¬²¢ÇÒ¿ÉÒÔ±ÜÃâÉú³ÉÈßÓà´úÂ룬²¢ÇÒÖ§³Ö¶Ô HTMLÔ ......
ĿǰÔÚ http://developers.sun.com.cn ÒÑÕýʽÐû²¼·¢²¼Java SE 6 API ÖÐÎİ档
´ó¼ÒÒ²¿ÉÒÔ´ÓÒÔÏÂÍøÖ·ÏÂÔØ:
* HTML ¸ñʽ ( http://download.java.net/jdk/jdk-api-localizations/jdk-api-zh-cn/publish/1.6.0/html/zh_CN/api/index.html )
* zip ¸ñʽ ( http://download.java.net/jdk/jdk-api-localizations/jdk-api ......
¹ØÓÚHtml
form
±íµ¥µÄÌá½»£¬ºÜÈÝÒס£¡£¡£µ«Èç¹û²»×Ðϸ»¹ÊÇÄÜÓкܶà´íÎó¡£
Ìá½»µÄbutton name ÊôÐÔΪ submit form
µÄsubmit·½·¨Ê§Ð§
¡£´úÂëÈçÏÂ
# < html >
# < head > </ head >
# < script type = "text/javascript" >
# function getData(){
# ......
SEO£¨ËùËÑÒýÇæÓÅ»¯£©£¬ÔÚÉè¼ÆÍøÒ³µÄʱºòÒ²ÊÇÒª¿¼ÂDZȽ϶àµÄÄÚÈÝ£¬ÒòΪÓÅ»¯ÊÇÒª´Ó»ù´¡¿ªÊ¼×öµÄ¡£ÕâÑù¿ÉÒÔÊ¹ÍøÕ¾¸üÈÝÒ×±»ËÑË÷ÒýÇæ“Àí½â”£¬´Ó¶øÌá¸ßÍøÕ¾ÔÚËÑË÷ÒýÇæµÄÅÅÃû¡£ÍøÂçÉϺܶàSEOÑо¿ÈËÔ±½»Á÷ÈÏΪ£º
È¨ÖØ·ÖÖµÅÅÁС¡
ÄÚ²¿Á´½ÓÎÄ×Ö£º10·Ö¡¡¡¡
±êÌâtitle£º10·Ö¡ ......
HTMLÖÐSelect²»ÓÃDisabledʵÏÖReadOnlyµÄÁíÀàʵÏÖ.
<select onbeforeactivate="return false" onfocus="this.blur()" onmouseover="this.setCapture()" onmouseout="this.releaseCapture()">
<option>1</option>
</select> ......