Quick JavaScript Question

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
NamecheapNamecheap
Watch

Tree

Established Member
Impact
9
I need to refresh the page when a user selects a certain form entry. That part I've got down. But I also need to to keep all the form data that's been entered already, any idea on how I would do that?

:tu:
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
well u cud set them as temporary cookies or something, but that would make ur site SLOW.

i would advise making it so that the parts that get updated are purely variables so they get updated whenever a user chooses an option.

assuming u want a page kind of like all the computer companies (dell, apple) have when u are "customizing your own computer". u choose ur specs and the price updates automatically.
 
0
•••
I'd use ajax just to update the specific area needed and leave the rest in tact.
 
0
•••
Have the things you need to load, already there but hidden.

When they select whatever option, it just shows what it is.
 
0
•••
How would I do that? I don't consider myself Javascript-literate. :)
 
0
•••
0
•••
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover

NamePros updates

Watched threads: your alert now keeps up with new replies
When you watch a thread, each new reply now updates your alert. Before, you got one alert and then nothing until you read the thread...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back