how to pass input text parameter with $.get method in jquery
<script>
var focus=document.getElementById("acctype").innerHTML;
$( "#acctype" )
.focusout(function() {$.get("fetchacc.php",{ name:'" + $(#acctype).val() + "'},function(data) { $('#acctypeDES').html(data); } );
});
</script>
In above i have passed input text value using .get method..
I expect input text value instead of " + $(#acctype).val() + "' like.. name:50
but it doesnt work...
It returns following error value " + $(#acctype).val() + "
acctype is the id given to input text box in html...
Please Solve my problem... Thanxx.