Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-19-2012, 08:33 PM   PM User | #1
glowingnova
New Coder

 
Join Date: Jan 2009
Posts: 15
Thanks: 6
Thanked 0 Times in 0 Posts
glowingnova is an unknown quantity at this point
How to make a submit button refresh the page.

I have a form here: http://practicalcme.com/newPCME/register.html
At the bottom there is an "add to cart" button.
I want the button to submit the info and then refresh the same page, so that the info shows up in the mini-cart on the right.
Can anyone help?
glowingnova is offline   Reply With Quote
Old 10-19-2012, 09:00 PM   PM User | #2
Redcoder
Regular Coder

 
Redcoder's Avatar
 
Join Date: May 2012
Location: /dev/couch
Posts: 309
Thanks: 2
Thanked 46 Times in 45 Posts
Redcoder has a little shameless behaviour in the past
You should use a scripting Language like PHP, Python or even for that. HTML can't do stuff like proces the form, store cookies or pass variables from one page to another which is needed fo this kind of stuff.

I'd advise you(that is if you use PHP), you should use PHP session variables which are secure as compared to cookies stored on the client which can be easily manipulated.

For this kind of job, without the code for the page, we can't direct you along the lines you should be following.

Or if you want it done by someone else, you can post in the forum to ask someone to do it for you.
__________________
For professional Hosting and Web design.....


NetEssentials.co.uk

Last edited by Redcoder; 10-19-2012 at 09:04 PM..
Redcoder is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:21 PM.


Advertisement
Log in to turn off these ads.