一。input onclick無法調用js函數,原因:deleteDepotId()函數裏面的代碼有錯誤
例如:<input type="button" name="go" value="Go" id="optionGo" οnclick="return deleteDepotId()" />
二。必須引用<script type="text/javascript" src="/javascript/jquery.js"></script>,jquery纔會生效
一。input onclick無法調用js函數,原因:deleteDepotId()函數裏面的代碼有錯誤
例如:<input type="button" name="go" value="Go" id="optionGo" οnclick="return deleteDepotId()" />
二。必須引用<script type="text/javascript" src="/javascript/jquery.js"></script>,jquery纔會生效