I am getting data to jquery in json form but not able to display in HTML. I don't want use jquery to display. can i access jquery variable in HTML. Please help me, if this possible.
<script type=text/javascript>
$(function() {
$('#result').bind('input', function() {
$.getJSON('/prescription1', {
a: $('input[name="a"]').val()
}, function(data) {
console.log(data);
});
return false;
});
});
$('#someplace').text(data.myproperty);?