Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
auto submit form / ajax
Name: BigShow Date: January 25, 2009 at 13:03:14 Pacific OS: Windows XP CPU/Ram: pentium Product: Dell / Dell laptop Subcategory: Javascript/Ajax
Comment:
Hey guys, I need to set a time interval in the body onload that will automaticall submit a form i have with a hidden variable. More or less I am trying to reload a page every couple minutes with new information on it. Info will constantly be going into the DB and i want to just keep pulling it out. What displays is relevent to the url example www.xyz.com?cat=all, this will autamotically go into the table all and get the ten most recent items. I need to make sure I pass the cat through whatever i use to get to the php script thta will use that to run a loop and echo out the newest ten line. Any help would be great.
Name: shutat Date: January 25, 2009 at 15:57:44 Pacific
Reply:
Dunno if it will be of use, but I modified an ajax script I use at times for posting data to send the date every couple of seconds. Below are the two files - the html page and php page respectively.
Summary: I used to have a website which I made which included a form like: Name (persons name) Email Address (person's email) Comments (person's comments) and when submit was clicked, it sent the comments etc,...
Summary: i have an html form, that has a pull down menu, that looks something like this: <form action="something.php" method="post"> <select name="var1"> <option value="choice1">Choice1 <option...
Summary: I am using dreamweaver2000 and am a little confused. I have created a login screen using dream weaver in design view and when I go to code view to insert my php and sql stuff, I don't know where to p...