jquery easyUI checkbox復選項獲取並傳后台


jquery easyUI checkbox復選項獲取並傳后台

先上效果圖

再上代碼:

              <div>
                <input type="checkbox" name="qx" value="1"   />用戶管理
                <input type="checkbox" name="qx" value="2"  />業務模板定制管理<br />
                <input type="checkbox" name="qx" value="3" />部門管理
                <input type="checkbox" name="qx" value="4"  />業務短信人工群發<br />
                <input type="checkbox" name="qx" value="5"  />業務申請
                <input type="checkbox" name="qx" value="6"  />業務取消
                </div>
           var qx = $("input[name='qx']:checked").map(function () {
               return $(this).val();
           }).get().join('#');

后台接收代碼:

 context.Request["qx"]


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM