0

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>
4
Contributors
4
Replies
20
Views
4 Years
Discussion Span
Last Post by diafol
0

Heading Here

hey guys i think it will be help for you it also submitted MR.shrikanthnk bt i also think that it is prefer for us.

Sub-Heading Here

if iwas wrong then 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>
0

Sorry hari, can't understand you...

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.