亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

ReferenceError:顯示未在 HTMLInputElement.onclick 中定義

ReferenceError:顯示未在 HTMLInputElement.onclick 中定義

PHP
喵喔喔 2022-07-29 10:11:26
我有一個問題(我搜索了答案,但沒有人為我工作)。Sooo,我試圖通過向但同樣的問題添加功能來解決它,我真的不知道為什么我會得到這個??刂婆_日志中的錯誤:ReferenceError:顯示未在 HTMLInputElement.onclick 中定義HTML 代碼:<center><h2 id="select_template">Do you want to choose an activation template?</h2></center>            <br>                    <div class="custom-control custom-checkbox small" style="display: inline-block; text-align: left;">                        <input type="radio" class="custom-control-input" name="searchValue" onclick="display('vps')" id="vps">                        <label class="custom-control-label" for="vps">Virtual Private Server</label>                    </div><br>                    <div class="custom-control custom-checkbox small" style="display: inline-block; text-align: left;">                        <input type="radio" class="custom-control-input" name="searchValue" onclick="display('webhost')" id="webhost">                        <label class="custom-control-label" for="webhost">Web Host</label>                    </div><br>                    <div class="custom-control custom-checkbox small" style="display: inline-block; text-align: left;">                        <input type="radio" class="custom-control-input" name="searchValue" onclick="display('mcgmsv')" id="mcgmsv">                        <label class="custom-control-label" for="mcgmsv">Minecraft Game Server</label>函數display定義了,會發生什么?謝謝。
查看完整描述

1 回答

?
UYOU

TA貢獻1878條經驗 獲得超4個贊

在您的 js 腳本中,您有以下行:

if(svdo_type == 'domain' || svdo_type == 'Domain' || || svdo_type == 'DOMAIN')

去掉多余的||

此外,您有幾次以下行:

 document.getElementById("info_to_customer").value =

沒有 id "info_to_customer"


查看完整回答
反對 回復 2022-07-29
  • 1 回答
  • 0 關注
  • 199 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號