JavaScript³£Ó÷½·¨×ܽᗗIE¹¦ÄÜ»ã×Ü
IE¹¦ÄÜ»ã×Ü
<OBJECT id=WebBrowser height=0 width=0
classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2></OBJECT>
<INPUT onclick=document.all.WebBrowser.ExecWB(1,1) type=button value=´ò¿ª name=Button1>
<INPUT onclick=document.all.WebBrowser.ExecWB(4,1) type=button value=Áí´æΪ name=Button2>
<INPUT onclick=document.all.WebBrowser.ExecWB(10,1) type=button value=ÊôÐÔ name=Button3>
<INPUT onclick=document.all.WebBrowser.ExecWB(6,1) type=button value=´òÓ¡ name=Button>
<INPUT onclick=document.all.WebBrowser.ExecWB(8,1) type=button value=Ò³ÃæÉèÖà name=Button4>
<INPUT onclick=window.location.reload() type=button value=ˢРname=refresh>
<INPUT onclick="window.external.ImportExportFavorites(true,'');" type=button value=µ¼ÈëÊղؼРname=Button5>
<INPUT onclick="window.external.ImportExportFavorites(false,'');" type=button value=µ¼³öÊղؼРname=Button32>
<INPUT onclick="window.external.AddFavorite(location.href, document.title)" type=button value=¼ÓÈëÊղؼРname=Button22>
<INPUT onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)" type=button value=ÕûÀíÊղؼРname=Submit2>
<INPUT onclick='window.location="view-source:" + window.location.href' type=button value=²é¿´Ô´Îļþ name=Button7>
<INPUT onclick="window.external.ShowBrowserUI('LanguageDialog', null)" type=button value=ÓïÑÔÉèÖà name=Button6>
<INPUT onclick="document.execCommand('Cut')" type=button value=¼ôÇÐ>
<INPUT onclick="document.execCommand('Copy')" type=button value=¿½±´>
<INPUT onclick="document.execCommand('Paste')" type=button value=Õ³Ìù>
<INPUT onclick="document.execCommand('Undo')" type=button value=³·Ïû>
<INPUT onclick="document.execCommand('Delete')" type=button value=ɾ³ý>
<INPUT onclick="document.execCommand('Bold')" type=button value=ºÚÌå>
<INPUT onclick="document.execCommand('Italic')" type=button value=бÌå>
<INPUT onclick="do
Ïà¹ØÎĵµ£º
JavaScript¶¯Ì¬Ìí¼Óɾ³ý±í¸ñÐÐ(Ö§³ÖFireFox)
2006-08-16 12:47
¡¡¡¡Ð§¹ûͼÈçÏ£º
¡¡¡¡µã“Ìí¼Ó²ÎÓëÈË”°´Å¥¿ÉÒÔÌí¼ÓÒ»ÐУ¬Ã¿ÐкóÃ涼ÓÐÒ»¸öɾ³ý°´Å¥£¬¿ÉÒÔɾ³ýËùÔÚÐУ¬“Çå¿Õ”Ôòɾ³ýËùÓеÄÐС£
¡¡¡¡ÕâÖÖЧ¹ûÔÚÐèÒªÅúÁ¿Ìí¼ÓÊý¾ÝµÄʱºò·Ç³£ÓÐÓ㬿ÉÒÔÔÚ¿Í»§¶ËÌí¼ÓÍêÒ»ÅúÊý¾Ý£¬È»ºóͨ¹ýAJAXÒ»´ÎÌá½ ......
1. document.write( " "); Êä³öÓï¾ä
2.JSÖеÄ×¢ÊÍΪ//
3.´«Í³µÄHTMLÎĵµË³ÐòÊÇ:document- >html- >(head,body)
4.Ò»¸öä¯ÀÀÆ÷´°¿ÚÖеÄDOM˳ÐòÊÇ:window- >(navigator,screen,history,location,document)
5.µÃµ½±íµ¥ÖÐÔªËصÄÃû³ÆºÍÖµ:document.getElementById( "±íµ¥ ......
×Ô´ÓѧϰJavaScriptÒÔÀ´£¬Ò»Ö±¶Ôº¯Êý±Õ°ü²»ÊÇÌ«Àí½â¡£ÖªµÀ´ó¸ÅÊÇʲô¸öÒâ˼£¬µ«ÊÇÒª½«Ò»¸ö²»»áµÄÈ˽̻ỹÕæ²»ÐС£×ÜÖ®¾ÍÊDz»Äܳ¹µ×µÄÀí½â¡£
½ñÌì¿´µ½µÄÕâƪÎÄÕ¸оõ²»´í£¬ºÍ´ó¼Ò·ÖÏíһϡ£
http://www.felixwoo.com/archives/247 ......
¶ÔÏóÊôÐÔ:
document.title //ÉèÖÃÎĵµ±êÌâµÈ¼ÛÓÚHTMLµÄ<title>±êÇ©
document.bgColor //ÉèÖÃÒ³Ãæ±³¾°É«
document.fgCol ......
ÔÚJavaScriptÖпÉÒÔ´´½¨ÈýÖÖÏûÏ¢¿ò£º¾¯¸æ¿ò¡¢È·ÈÏ¿ò¡¢Ìáʾ¿ò
¾¯¸æ¿ò¾³£ÓÃÓÚÈ·±£Óû§¿ÉÒԵõ½Ä³Ð©ÐÅÏ¢¡£µ±¾¯¸æ¿ò³öÏÖºó£¬Óû§ÐèÒªµã»÷È·¶¨°´Å¥²ÅÄܼÌÐø½øÐвÙ×÷¡£
Óï·¨£º
alert("Îı¾")
È·ÈÏ¿òÓÃÓÚʹÓû§¿ÉÒÔÑéÖ¤»òÕß½ÓÊÜijЩÐÅÏ¢¡£µ±È·ÈÏ¿ò³öÏÖºó£¬Óû§ÐèÒªµã»÷È·¶¨»òÕßÈ¡Ïû°´Å¥²ÅÄܼÌÐø½øÐвÙ×÷¡£Èç¹ûÓû§µã»÷È·ÈÏ£¬Ä ......