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

html inputÖÐ buttonºÍsubmitµÄÇø±ð

type=button      ¾Íµ¥´¿Êǰ´Å¥¹¦ÄÜ   
type=submit      ÊÇ·¢ËÍ±íµ¥
µ«ÊǶÔÓÚ´ÓÊÂWEB UIµÄÈËÓ¦¸ÃҪעÒâµ½£¬Ê¹ÓÃsubmitÀ´Ìá¸ßÒ³ÃæÒ×ÓÃÐÔ£º
ʹÓÃsubmitºó£¬Ò³ÃæÖ§³Ö¼üÅÌenter¼ü²Ù×÷£¬¶øºÜ¶àWEBÈí¼þÉè¼ÆÊ¦£¬¿ÉÄÜûÓÐ×¢Òâµ½submitͳһ.
ÓÃbuttonºóÍùÍùÒ³Ãæ²»Ö§³Öenter¼üÁË¡£ËùÒÔÐèÒªÖ§³Öenter¼ü£¬±ØÐëÒªÉèÖøösubmit£¬Ä¬ÈÏenter¼ü¶ÔÒ³ÃæµÚÒ»¸ösubmit½øÐвÙ×÷¡£
<input type="submit" name="b1" value="Ìá½»"     onClick="bt_submit_onclick()">
Ö´ÐÐÍêonClick£¬×ªµ½action¡£¿ÉÒÔ×Ô¶¯Ìá½»²»ÐèÒªonClick¡£ËùÒÔ˵onclickÕâÀï¿ÉÒÔ²»Òª¡£
 
<input type="button" name="b1" value="Ìá½»"     onClick="bt_submit_onclick()">
Ö´ÐÐÍêonClick£¬Ìø×ªÎļþÔÚ jsÎļþÀï¿ØÖÆ¡£Ìá½»ÐèÒªonClick¡£  
±ÈÈ磺
1£¬onclick="form1.action='a.jsp';form1.submit();"     ÕâÑù¾ÍʵÏÖÁËsubmitµÄ¹¦ÄÜÁË¡£
 
2£¬<form    name="form1"    method="post"    action="http://www.sina.com.cn">   
       <input    type="button"    name="Button"    value="Button"    onClick="submit()">   </form>
 
3£¬<input    type="button"    name="Button"    value="Button"    onClick="javascript:windows.location.href="ÄãµÄurl"">
 
 
 
type=button      ¾Íµ¥´¿Êǰ´Å¥¹¦ÄÜ   
type=submit      ÊÇ·¢ËÍ±íµ¥
µ«ÊǶÔÓÚ´ÓÊÂWEB UIµÄÈËÓ¦¸ÃҪעÒâµ½£¬Ê¹ÓÃsubmitÀ´Ìá¸ßÒ³ÃæÒ×ÓÃÐÔ£º
ʹÓÃsubmitºó£¬Ò³ÃæÖ§³Ö¼üÅÌenter¼ü²Ù×÷£¬¶øºÜ¶àWEBÈí¼þÉè¼ÆÊ¦£¬¿ÉÄÜûÓÐ×¢Òâµ½submitͳһ.
ÓÃbuttonºóÍùÍùÒ³Ãæ²»Ö§³Öenter¼üÁË¡£ËùÒÔÐèÒªÖ§³Öenter¼ü£¬±ØÐëÒªÉèÖøösubmit£¬Ä¬ÈÏenter¼ü¶ÔÒ³ÃæµÚÒ»¸ösubmit½øÐвÙ×÷¡£
<input type="submit" name="b1" value="Ìá½»"     onClick="bt_submit_onclick()">
Ö´ÐÐ


Ïà¹ØÎĵµ£º

htmlÓïÑԵĻù±¾½á¹¹

HTMLÎĵµÖ÷ÒªÓÉÈý²¿·Ö¹¹³É£ºÐò(Prologue)¡¢Í·£¨Head£©ºÍÖ÷Ìå(Body)¡£
    “Ðò”λÓÚHIMLÎĵµµÄµÚÒ»ÐУ¬ËüµÄ×÷ÓÃÊǰѱàдÕâ¸öH1MLÎĵµÊ¹ÓõÄHTML
°æ±¾ºÅ¸æË߸øä¯ÀÀÆ÷¡£ÐòÔÚHTML3£®o°æ±¾Ö®Ç°½ÏÉÙʹÓá£
    “Í·”ÓÃÀ´±êʶÕû¸öHTMLÎĵµµÄÊôÐÔ£¬ËüÓëÎÒÃdz£ÓõÄEmailÖе ......

html ±í¸ñϸ±ß¿ò´¦Àí

Ñùʽ±íÈçÏ£º
table#border{
border-top:#000 1px solid;
border-left:#000 1px solid;
}
table#border td{
border-bottom:#000 1px solid;
border-right:#000 1px solid;
}
È»ºóÔÙÒª¼Ó±ß¿òµÄhtmlÎļþÖмÓÉÏ
<table id="border" border="0" cellspacing="0"> ......

¹ØÓÚhtmlÖеÄObject±êÇ©

¶¨ÒåºÍÓ÷¨
¶¨ÒåÒ»¸öǶÈëµÄ¶ÔÏó¡£ÇëʹÓôËÔªËØÏòÄúµÄ XHTML Ò³ÃæÌí¼Ó¶àýÌå¡£´ËÔªËØÔÊÐíÄú¹æ¶¨²åÈë HTML ÎĵµÖеĶÔÏóµÄÊý¾ÝºÍ²ÎÊý£¬ÒÔ¼°¿ÉÓÃÀ´ÏÔʾºÍ²Ù×÷Êý¾ÝµÄ´úÂë¡£
<object> ±êÇ©ÓÃÓÚ°üº¬¶ÔÏ󣬱ÈÈçͼÏñ¡¢ÒôƵ¡¢ÊÓÆµ¡¢Java applets¡¢ActiveX¡¢PDF ÒÔ¼° Flash¡£
object µÄ³õÖÔÊÇÈ¡´ú img ºÍ applet ÔªËØ¡£²»¹ýÓ ......

HtmlÒ³ÖÐʹÓÃOCX¿Ø¼þ

×î½ü×¼±¸¿ª·¢Ò»¸öb/s¼Ü¹¹µÄÓ¦ÓóÌÐòÐèÒªÓõ½activeX¿Ø¼þ£¬web·þÎñÆ÷ÉÐδ½øÈë±àÂë½×¶Î£¬Å¼ÊÖÉÏÒÑÓÐÔ­ÓÃÓÚvc¿Í»§¶Ë³ÌÐòÖеÄocx¿Ø¼þ£¬Ïë²âÊÔһϴ˿ؼþÔÚÆÕÍ¨ÍøÒ³ÉÏÖ´Ðй¦ÄÜÓÐÎÞÆ«²î£¬ÓÚÊǸãÁ˸ö¼òµ¥µÄhtml¾²Ì¬Ò³Ãæµ÷ÓÃÀ´²âÊÔOCX¿Ø¼þ¡£
Ò» ×¢²áOCX¿Ø¼þ
н¨reg.txtÎļþ
±à¼­
RegSvr32  TestOCX.ocx  //TestOCXÊÇ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ