Can you please take a look at This Demo and let me know how I can toggle varible value from "ecolo" to "econo" using jQuery?
<button id="model">Toggle Query</button>
<div id="result"></div>
<script>
var qtype= "econo";
$("#model").on("click", function () {
qtype= "ecolo";
$("#result").html(qtype);
});
</script>
Thanks