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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Save favorites

Status
Not open for further replies.

fmwagwabi

Programmer
Jul 15, 2003
2
AU
Hi,

Hope someone can help.

I would like to get the user to be able to save for instance, selected records (from a database) to a 'favorites' page to enable the user to come back later and view all the favorite records in one page.

How can I do this in Javascript.

Thank you
Flo
 
in javascript, you don't. at least not easily. you'd have to use cookies to store the records, and you're limited to about 4k data with cookies.

i suggest you use a server side language like asp or php to do this...perhaps create a "favorites" table in your database, then save the record's id to the table.



=========================================================
try { succeed(); } catch(E) { tryAgain(); }
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top