Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating page

Status
Not open for further replies.

lucidity23

Programmer
Feb 14, 2001
99
US
I am trying to figure out how to have a page which will keep the current text on it but when someone submits a form it will add to it without having to repost the whole page.

Basically the page just keeps getting added to and added to...etc...

can that be done with just ASP or is some Javascripting needed??
- carpe diem -
 
Well, you can look into Remote Scripting (there are some FAQ's on it in this forum), but short of that (it's fairly complicated), you will need to repost the page.

That is, of course, if you are wanting to do some processing. If all you're trying to do is add something to a form element or something else, then javascript could be used w/o the need for a repost. You won't have any communication w/ your server, though, and that's usually why we Submit in the first place, so....

If you expanded a bit on what your specific need is, and exactly what your page needs to do, then maybe we could help a little more.

:)
paul
penny.gif
penny.gif
 
Here is exactly what I was hoping to do...

I have a site right now which users can log into in order to update their profile info, post on the forums, etc. All of that info is stored in an access database. So I can log the people in fine by accessing that info.

What I want to have though is a chat room. I know there are some premade ones out there already. But what I want is a room which is integrated with my web site.

the only hurdle I need to overcome is making it so the page does not keep reloading where the chat is occuring. I would like to have it so it only adds each new message that is posted. Any input on this would be most welcome.
- carpe diem -
 
Yea, I think remote scripting is what you're looking for. I wish I could help in that department, but I've never personally used it, so I won't presume to give advice specifically, but basically what it does is allows your client side javascript to call server procedures w/o having to reload the page.

Like I said, member Swany wrote three FAQ's about the subject here and there's alot of information here as well:

penny.gif
penny.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top