我有一段簡單的代碼(包含在CMS中,不能被編輯),並且如果點擊了它,需要在頁眉中用Javascript讀取它。如果鏈接已被點擊,Javascript代碼將被讀取
下面是代碼
<div id="example" class="page-element-outer" style="text-align: left">
<div class="page-element-inner" >
<input type="image" name="Button1" id="Button" src="/getresource.axd?AssetID=16813" alt="Submit" style="text-align:left;" />
</div>
</div>
你能幫助?
我不明白這個問題! ,你可以添加更多的細節plz –
你是什麼意思「讀取鏈接是否被點擊」?你的意思是你想要一段JS代碼在用戶點擊鏈接時運行,也就是說,響應點擊? – nnnnnn