[Solved] can any one help to me to get variable from jquery and use in php
[ad_1] I understand the question and the answer is going to be complex. First you need to add onChange event to your ProducerType selectbox. Add this at the end of your html: <script> $(document).ready(function(){ // attach event on change $(‘#ProducerType’).on(‘change’,function(){ // call script on server to check if isset() and receive values for Role $.get(“checkproducer.php?ProducerType=”+$(‘#ProducerType’).val(),function(result){ … Read more