ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old April 10th, 2008, 12:08 AM
StealthRT StealthRT is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 76 StealthRT User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 h 35 m 54 sec
Reputation Power: 5
Submit data without going to another page

Hey all i am trying to figure out a way to send off my data on my ASP form without having to goto another page to do so. Like once the user clicks on the submit button, an overlay comes on and says "sending data", and in the background it does the same things as it would if it submitted to the page where i have to send the data and stuff.

Here is some of my form code:
Code:
<form action="SendFB.asp" method="POST" name="frmFB">
<input name="txtFName0" type="text" class="TextBoxes" id="txtFName0" tabindex="1" size="30"  />
<input name="txtFName1" type="text" class="TextBoxes" id="txtFName1" tabindex="1" size="30"  />
<input name="txtFName2" type="text" class="TextBoxes" id="txtFName2" tabindex="1" size="30"  />
<input name="txtFName3" type="text" class="TextBoxes" id="txtFName3" tabindex="1" size="30"  />

......

<img src="Send.png" alt="" width="260" height="65" id="SubNow" onClick="document.frmFB.submit();"/>
</form>

Now once the user clicks on the button it just sends them to the SendFB.asp page that has the asp code to store the forms values into the database, etc etc.

So how would i go about just staying on the main page without going to the SendFB.asp page to unload the data to the mySQL database?

Thanks for your time
David

Reply With Quote
  #2  
Old April 11th, 2008, 02:41 AM
Doug G Doug G is online now
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,703 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 21 h 30 m 7 sec
Reputation Power: 688
Google for AJAX, which is the technology you probably want to use. It's hard to find examples for asp though, since asp is no longer being actively enhanced by MS. MS does have a NET ajax library available if you go the NET route.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Submit data without going to another page


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway