ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¸ß°Ý html input & button

¦^´_ 1# mark15jill


    button(x).Click
¨S¨Ó·½¡B¨S½d¨Ò«ÜÃø¦^µª§Aªº°ÝÃD¡C
¤@¤À§V¤O¡A¤@¤À¦¬Ã¬¡C
µo°ÝÃD«e¥i¥H¥ý·j¯Á¤º¤å¬O§_¦³¬ÛÃö½d¨Ò¡C

TOP

¦^´_ 3# mark15jill


    ©êºp¡A¬Ý¿ù¤º®e...¥H¬°¬O­n°ÝVB or VBA¦p¦ó¾Þ§@IEªºInput
§A¬O­n°µ¤@­ÓHTML¹ï§a?
¦bHTML½s¿è¤W¥[­ÓJavaScript Function¡A¦bBody¸Ì³]¸m§AªºInput©ÎButton
  1. function clearData() {
  2.     var index = frmQuery.fldName.selectedIndex;

  3.     if (index == 0) {
  4.       frmQuery.queryCondition.value = '';
  5.       frmQuery.queryCondition.readOnly = true;
  6.     } else {
  7.       frmQuery.queryCondition.value = '';
  8.       frmQuery.queryCondition.readOnly = false;
  9.       frmQuery.queryCondition.focus();
  10.     }
  11.   }
½Æ»s¥N½X
IE¤W¾Þ§@ªºButton°µ®M¤JFunction
  1. onchange="clearData()"
½Æ»s¥N½X
­Y¬O¦^¶ÇÅܼƵ²ªG¤@¼Ë¦bFunction¬O¥ý¥[¤Jtextbox¤¤©Î¬O¨ä¥¦°T®§°µ¬°§PÂ_¦¡¡C
¤@¤À§V¤O¡A¤@¤À¦¬Ã¬¡C
µo°ÝÃD«e¥i¥H¥ý·j¯Á¤º¤å¬O§_¦³¬ÛÃö½d¨Ò¡C

TOP

        ÀR«ä¦Û¦b : ÀR§¤±`®¦¤v¹L¡B¶¢½Í²ö½×¤H«D¡C
ªð¦^¦Cªí ¤W¤@¥DÃD