¹ØÓÚÊó±êÓÒ¼üµÄJAVASCRIPTÓëFIREFOX²»¼æÈݵÄÎÊÌâ
<script language="javascript">
function click() {
if (event.button==2) { //button==1Ϊ×ó¼ü
alert('µã»÷²é¿´ÎÄÕÂÏêϸÄÚÈÝ£¡')
}
}
document.onmousedown=click
</script>
ÒÔÉÏÔÚIEÀï¿ÉÒÔÕý³£µ¯³öÌáʾ,µ«ÔÚFIREFOXÖоÍÎÞЧ,ÓÐʲô°ì·¨ÄØ??{{
Ïà¹ØÎÊ´ð£º
<form id="form1" runat="server">
<div>
<script type="text/javascript">
function oo(a){
document.getEleme ......
ÎÒµÄÍøÒ³ÉÏ·ÅÖÃÁËÒ»¸öActiveX¿Ø¼þ£¬¿Ø¼þÃûΪNVSViewerCtrlEx£¬clsid:9D78E092-86F1-487E-91DA-6D7D44ED985A£¬¿Ø¼þʼþ֪ͨ£¨µ±Êó±êÑ¡Öд°¿Úʱ´¥·¢£¬OnSelectedView(long lView)£¬ÆäÖÐlView£º´Ó0¿ªÊ¼µÄÐòÊý£©;Õâ¸ö¿Ø¼ ......
ÔõôÓÃjavascript¿ØÖÆgridviewÀïµÄRadioButton
¶Ô gridview findcontrol ,ÕÒ³öRadioButton£¬
È»ºó£¬¶ÔRadioButton £¬µÄAttribute Ôö¼Ó JS¾Í¿ÉÒÔÁË¡£
C# code:
for (int i = 0; i < gd ......
Èý¸öÊýx,y,z ±È´óС..
var x,y,z,t;
if (x>y)
{t=x;x=y;y=t;} //½»»»x,yµÄÖµ
if(x>z)
{t=z;z=x;x=t;}//½»»»x,zµÄÖµ
if(y>z)
{t=y;y=z;z=t;}//½»»»z,yµÄÖµ
ÕâÊÇ ......
ÔÚÎı¾¿òÖÐʹÓÃonkeyup="this.value=this.value.replace(/[^\d\.]/g,'')" À´ÏÞÖÆÎı¾¿òÖ»ÄÜÊäÈëÊý×ÖµÄͬʱ³öÏÖÁ½¸öÎÊÌ⣺
1¡¢ÔÚÎı¾¿òÀïÒ²²»ÄÜÒƶ¯¹â±êÁË¡£
2¡¢É¾³ýÒ»¸ö²»ÊÇ×îδ¶ËµÄÊý×Öʱ£¬¹â±ê×Ô¶¯Ìøµ ......