javascriptÔËÐС¢µ÷ÊÔ¹¤¾ß
×î½üÔÚѧϰjavascript,¶ÔÓÚÈçºÎÔËÐе÷ÊÔÈ´²»Á˽⡣ÒÔΪÔÚ¼Çʱ¾Öб༺ÃÎļþºó±£´æÎªhtmÎļþ£¬È»ºóÔÚä¯ÀÀÆ÷Öдò¿ª¾Í¿ÉÒÔÁË£¬µ«ÎÒÊÔÁ˶à´Î¶¼²»³É¹¦£¬ºóÀ´ÖÕÓÚ·¢ÏÖÔÀ´ÎÒÔÚ¼Çʱ¾Öб༱£´æµÄÎļþµÄºó׺ÃûΪ“.txt”¡£
½â¾ö·½·¨£º“Îļþ¼ÐÑ¡Ïî”-->“²é¿´”-->“¸ß¼¶ÉèÖÔ-->“Òþ²ØÒÑÖªÎļþÀàÐ͵ÄÀ©Õ¹Ãû”È¥µôÇ°ÃæµÄ¹´£¬¾Í¿ÉÒÔ¿´Çå³þÎļþµÄÀàÐÍÁË¡£
Òªµ÷ÊÔjavascript¿ÉÒÔʹÓÃoffice wordÖеÄÒ»¸öÃâ·Ñ¹¤¾ß£¬ÔÚ°²×°officeµÄʱºò×Ô¶¨ÒåÑ¡ÔñÒ»¸öÓйؓhtml”µÄÄǸöÑ¡ÏÕâÑùÔÚ°²×°Ä¿Â¼Ï¾ÍÓÐÁË“D:\Program Files\Microsoft Office\OFFICE11\MSE7.EXE”Îļþ£¬Ê¹ÓøÃÎļþ¼´¿É½øÐÐjavascriptµÄµ÷ÊÔ¡£
Ïà¹ØÎĵµ£º
Js´úÂë
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="wmp" >
<param name="URL" value="" /> ......
http://www.cnblogs.com/sanshi/archive/2009/07/08/1519036.html
Ò»¡¢sanshi javascript ¼Ì³ÐϵÁУº
1¡¢ JavaScript¼Ì³ÐÏê½â£¨Ò»£© http://www.cnblogs.com/sanshi/archive/2009/07/08/1519036.html
2¡¢JavaScript¼Ì³ÐÏê½â£¨¶þ£©
3¡¢ JavaScript¼Ì³ÐÏê½â£¨Èý£©
4¡¢JavaScript¼Ì³ÐÏê½â£ ......
1£®ÈçºÎ»ñÈ¡±íµ¥<select>ÓòµÄÑ¡Ôñ²¿·ÖµÄÎı¾£¿
<form name="a">
<select name="a" size="1" onchange="_sel(this)">
<option value="a">1</option>
<option value="b">2</option>
<option value="c">3</option>
</select>
</form&g ......
ÉèΪÊ×Ò³ºÍÌí¼ÓÊղصÄJavascript´úÂ룬¼æÈÝÐÔ»¹¿ÉÒÔ£¬¸÷ÖÖÖ÷Á÷ä¯ÀÀÆ÷¶¼²âÊÔͨ¹ýÁË¡£
function addfavorite(){//¼ÓÈëÊÕ²Ø
if (document.all){
window.external.addFavorite("http://"+document.location.host+"/",document.title);
}else if (window.sidebar){
window.sidebar.addPanel(document.tit ......
ADF 11g²»ÔÙÖ§³ÖOnclickµÈJavaScript£¬¶øÊDzÉÓÃ<af:clientListener>À´ÊµÏÖÖîÈçɾ³ýijÌõ¼Ç¼µÄÌáʾ¿ò¡£
ʵÏÖ·½Ê½ÈçÏ£º
function confirmDelete() {
if (confirm('Are you sure you want to delete this record?'))
return true;
else
return false;
}
<af:commandLink actionListener="# ......