easyui使用時出現這個Uncaught TypeError: Cannot read property 'nodeName' of undefined
最后檢查發現是必須給select一個id,光給name不行,
構建后,easyui改變了dom結構,元素的訪問select的jq選擇器什么實現了可能。
原想着不想用id湊合用吧。
$("#table_category").combobox("getValue")
easyui使用時出現這個Uncaught TypeError: Cannot read property 'nodeName' of undefined
最后檢查發現是必須給select一個id,光給name不行,
構建后,easyui改變了dom結構,元素的訪問select的jq選擇器什么實現了可能。
原想着不想用id湊合用吧。
$("#table_category").combobox("getValue")
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。