I know 2 drop down list ajax and php without press submit button
Pann Ei
0
Newbie Poster
Recommended Answers
Jump to Post<!-- for dropdown list example only --> <ul> <li id='value1'>value1</li> <li id='value2'>value2</li> </ul> <!--- for your ajax script --> <script> $(document).ready(function(){ var val1 = $("#value1").val(); <---- create a variable for value1 var val2 = $("#value2").val(); <---- create a variable for value2 <?php if(val1 != ""){ ?> <---- …
All 4 Replies
decade
2
Junior Poster in Training
Pann Ei
0
Newbie Poster
decade
2
Junior Poster in Training
rpv_sen
59
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.