calling a .php function in append?
Hi, I am very new to this, and I see some examples about how to append text to the bottom of your content on an html page. In my head I was thinking I could call append(php file here) and have it go out, do the php and then append it to the html.
I just am not sure how to have a .php file do something and then append it to my html content.
Thanks
I have it like this.
<script>
$(document).ready(function( ) {
$("#button".click(function( ) {
$('#contenthere').append('phpfilehere.php');
});
});
</script>
<div id='contenthere'>
<input type="text" name="name" />
<input id="button" type="button" value="search" />
</div>