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

[µo°Ý] ¨D¸Ñ! ·P®¦~ IE¦Û°Ê¶ñªíªº°ÝÃD

[µo°Ý] ¨D¸Ñ! ·P®¦~ IE¦Û°Ê¶ñªíªº°ÝÃD

¥»©«³Ì«á¥Ñ t8o2m0 ©ó 2020-2-15 23:35 ½s¿è

½Ð°Ý¦U¦ì°ª¤â
§Ú·Q¼g¤@­Ó¦Û°Ê¶ñºô­¶¤º®eªº ¦ý¬O¹J¨ìÂI§xÃø
¬O¤@­Ó¶ñ¼g°ªÅK­q²¼­¶­±ªº  «e­±³£¨S°ÝÃD  ¦ý¦b¶ñ¼g®É¶¡ªº®É­Ô´N·|¥X¿ù
¥L¦bRUNªº®É«á ·|¦]¬°¤U©Ôªí³ævalue="1201A"
1201A ¬O¼Æ¦r+­^¤åªº²Õ¦X ©Ò¥H¥X²{¿ù»~ ·Q°Ý­n«ç»ò¸Ñ   ¦pªþ¥ó

¤w¸g¦bºô¸ô¤Wª¦¹L³\¦h¤å ©l²×¤£±o¨ä¸Ñ
¤£±o¤w¤~¨Ó¨D§U¦U¦ì°ª¤â:Q
½ÐÀ°À°VBA·s¤âªº§Ú§a  ·PÁÂQQ
------------------------------------------------------------------------------------
¥H¤U¬°VBAµ{¦¡½X
.all("backTimeTable")("1201A").Selected = True

©ÎªÌ

.all("backTimeTable").Value = "1201A"
------------------------------------------------------------------------------------
¥H¤U¬°ºô­¶ªº¤@¬q¤U©Ô¦¡¿ï³æ­ì©l½X   
(°²³]§Ú­nÅý¥L¿ï¾Ü00:00ªº®É­Ôvalue="1201A")
<select name="backTimeTable">
<option selected="selected" value="">½Ð¿ï¾Ü...</option>
<option value="1201A">00:00</option>
<option value="1230A">00:30</option>
<option value="600A">06:00</option>
<option value="630A">06:30</option>
<option value="700A">07:00</option>
<option value="730A">07:30</option>
<option value="800A">08:00</option>
<option value="830A">08:30</option>
<option value="900A">09:00</option>
<option value="930A">09:30</option>
<option value="1000A">10:00</option>
<option value="1030A">10:30</option>
<option value="1100A">11:00</option>
<option value="1130A">11:30</option>
<option value="1200N">12:00</option>
<option value="1230P">12:30</option>
<option value="100P">13:00</option>
<option value="130P">13:30</option>
<option value="200P">14:00</option>
<option value="230P">14:30</option>
</select>

°ªÅK.zip (27.89 KB)

¦^´_ 1# t8o2m0
¸Õ¸Õ¬Ý:
«Å§i¨ç¼Æ:
Dim post As Object, elem As Object
±N:
.all("toTimeTable")(toTimeTable).Selected = True
§ï¬°:
Set post = .getElementById("toTimeTable")
For Each elem In post.getElementsByTagName("option")
   If elem.Value = toTimeTable Then elem.Selected = True: Exit For
Next elem

TOP

¦^´_ 2# jcchiang


¯u¬O¤Ó·PÁ¤j¤j:P   ²×©ó¸Ñ¨M¤F
µù¸Ñ 2020-02-17 205314.png
¦ý¬O¤U­±¿ï²¼¼Æ¶q¤S¥d¦í....


¬O¦]¬°¦³«_¸¹ªºÃö«Y¶Ü?  ¬Oªº¸Ü­n«ç»ò¸Ñ¨M:'(
°ªÅK§ï.zip (30.74 KB)

TOP

¦^´_ 3# t8o2m0

.all("ticketPanel:rows:0:ticketAmount").Value = "3F"             '¥þ²¼   3±i
.all("ticketPanel:rows:1:ticketAmount").Value = "2H"            '«Äµ£²¼(6-11·³) 2±i
.all("ticketPanel:rows:2:ticketAmount").Value = "3W"           '·R¤ß²¼ 3±i
.all("ticketPanel:rows:3:ticketAmount").Value = "2E"             '·q¦Ñ²¼(65·³¥H¤W) 2±i
.all("ticketPanel:rows:4:ticketAmount").Value = "1P"             '¤j¾Ç¥ÍÀu´f²¼ 1±i

TOP

¦^´_ 4# jcchiang

:)  ·PÁ¤j¤j  ¨ì³o²×©ó¥þ³¡¸Ñ¨M¤FXD

TOP

        ÀR«ä¦Û¦b : ¤@­Ó¯Ê¤fªºªM¤l¡A¦pªG´«¤@­Ó¨¤«×¬Ý¥¦¡A¥¦¤´µM¬O¶êªº¡C
ªð¦^¦Cªí ¤W¤@¥DÃD