ok here is our sample HTML layout we gonna usei created a div with the class
target - now we are gonna pull our updates in here.
<div class="target">
</div>
now lets look at our php file - the javascript will post a
<?php
echo "this is my value";
?>
here is our JQuery we gonan use
$(function() {
$.ajax({
url: "update.php",
cache: false,
success: function(html){
$(".target").html(html);
}
});
});
On Wed, Oct 21, 2009 at 2:11 PM, bobslf <[email protected]> wrote:
>
>
> On Oct 21, 7:51 am, waseem sabjee <[email protected]> wrote:
> > Hi there,just one question - do you need to use frames or would prefer to
> do
> > this without frames ?
> >
>
> I don't care: whatever works. This is just a sample that I'm trying to
> get working. I need backend.php to be able do update the .html file by
> some method. I don't know much about javascript and just started
> looking at jquery.
>
> thanks,
> Bob
>