Noob question about forms

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ITDrone
Forum Newbie
Posts: 1
Joined: Mon Dec 21, 2009 10:24 pm

Noob question about forms

Post by ITDrone »

Hi.

I'm trying to get script output to appear in the div tag occupied by the form. My form tag is as follows:

<form action="AdvisorsEditPost.php" method="post" name="AdvisorsEditPost.php">

I've tried a couple of target attributes, but they either take over the entire page, or they load in their own window. This needs to replace the form within the div. The form itself is a php script loaded into the div by menukey.

Thanks,

IT Drone
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Noob question about forms

Post by requinix »

You're looking for AJAX...
Griven
Forum Contributor
Posts: 165
Joined: Sat May 09, 2009 8:23 pm

Re: Noob question about forms

Post by Griven »

More specifically, you'll want to look at this tutorial: http://net.tutsplus.com/javascript-ajax ... ng-jquery/
Post Reply