Question
How to get jquery value in coldfusion variable OR how to get input text value in cold fusion variable
Please help me to get the $("#txt").val(id); into coldfusion variable to do some sql query. Thanks
<body>
<script>
$(document).ready(function (){
$(".ap").click(function (){
var id = this.id;
$("#txt").val(id);
})
})
</script>
<div id="Test" class="ap">click</div>
<input id="txt" name="txt" value="" type="text">
</body>
