返回列表 上一主題 發帖

請問 GOODINFO已經可以抓資料,但該怎麼設定為"年"長度的資料

回復 1# vavashop
  1.   With .document
  2.         'Google Chrome 中 檢查元素的內容,得知 [顯示範圍]的 id="selMarginPeriod"
  3.         ''<select id="selMarginPeriod" onchange=" txtMarginDetailLoading.style.display=''; selMarginPeriod.style.cursor='wait'; document.body.style.cursor='wait'; setTimeout(function(){     var result = ExecuteAsp('ShowBearishChart.asp?STOCK_ID=2303&amp;CHT_CAT=DATE&amp;STEP=DATA&amp;PERIOD='+encodeURIComponent(selMarginPeriod.value),'');     if (result['result']) { divMarginDetailData.innerHTML = result['responseText']; }      document.body.style.cursor='default';     RepaintAD();     googletag.pubads().refresh(); },100);"><option value="90" selected="">三個月</option><option value="180">六個月</option><option value="365">一年</option></select>

  4.           With .getElementByid("selMarginPeriod")
  5.                 .Value = "365"
  6.                  .fireEvent ("onchange")
  7.             End With
複製代碼
感恩的心......(在麻辣家族討論區.用心學習會有進步的)
但資源無限,後援有限,  一天1元的贊助,人人有能力.

TOP

        靜思自在 : 有心就有福,有願就有力,自造福田,自得福緣。
返回列表 上一主題