HTML:
<input type="checkbox" name="check_mid" style="width:30px; height:30px;"> <button type="button" class="btn btn-primary" onclick="Search_Material()">查詢</button>
JS:
function Search_Material() { var check_mid = $('input[name="check_mid"]').prop("checked"); alert(check_mid); //有選取值=true,沒有選取值=false }
Python Tkinter Tutorial with Examples
回覆刪除SQL Injection Prevention Techniques
Django upload image to database
Django ajax GET and POST request
PHP Sending HTML form data to an Email
PHP CURL Cookie Jar
PHP7 Sodium Encryption Decryption