Hi All,
Below code gives me exact result which I want..
output gets displayed at div # result which is as per design. Now i wouldlike to know is there any method to display result in textbox? if so please help me.
<html>
<head>
<script type="text/javascript" src="jquery-2.0.3.min.js"></script>
<script type="text/javascript">
{ $(document).ready(function(){
$("#num").change(function(){
var settlementnum=$('#num').val();
//alert(settlementnum);
$.post("jqueryclaim.php",{phpcn:settlementnum},function(data){
$("#result").fadeIn().html(data);
});
});
});
}
</script>
</head>
// to display result
<body>
<div id="result"></div>
<input type="text" name="id" value=""/>
<body>
</html>