Đang Thực Hiện

Javascript and Cookie Functionality

I'm looking for a specific piece of Javascript. I have a button on a website, when the user clicks the button (onclick) javascript should write / update a cookie that appends an ID to the value of the cookie.

For example, if the user clicks a button next to a product with the ID - 12345, the cookie value would contain: 12345

If the user then clicked on a button next to product ID 5678, the cookie value would contain: 12345, 5678

The second piece of this would be javascript that would read the cookie value and display the results on the page.

As a user clicks the button, this results would update (refresh and re-read the cookie value) without reloading the page.

The last piece would be enabling a "delete" icon next to each result which would update the cookie value and remove that specific ID from the string of values.

This is basically enabling a light-weight save feature on my site.

If you agreed to help with this, ideally I would receive a JS file with functions that set and update the cookie, some HTML & JS for the results displayed on the page.

Kỹ năng: AJAX, Javascript, PHP

Xem thêm: user functionality, m string, help javascript, cookie, html javascript example, php string contain, read write update, javascript write display, feature piece, javascript write, php string remove, php onclick update, javascript html result, onclick update, update onclick php, save html javascript, file javascript read, javascript receive, save file javascript, read file javascript, php remove string, php javascript example, cookie php, javascript example, light weight html page

Về Bên Thuê:
( 19 nhận xét ) New York, United States

Mã Dự Án: #1685070

Đã trao cho:

Los302

Hello! I can do this for you!

$250 USD trong 2 ngày
(9 Đánh Giá)
4.2

7 freelancer đang chào giá trung bình $321 cho công việc này

determined

Ready to start now.

$250 USD trong 2 ngày
(19 Đánh Giá)
6.6
SRajpurohit

After reading all your need I will say This is very easy and interesting job.I would like to do this job.

$250 USD trong 2 ngày
(32 Đánh Giá)
5.4
froiden07

I can do this cookie work..

$250 USD trong 4 ngày
(54 Đánh Giá)
5.4
manhpham

I am JS expert. I am ready to help you now/

$250 USD trong 1 ngày
(12 Đánh Giá)
4.0
Cre8tiveWorks

Easy project for me. Let's start. Thanks

$250 USD trong 3 ngày
(1 Đánh Giá)
3.0
S9U0hVa6K

[Removed by Freelancer.com Admin]

$750 USD trong 1 ngày
(0 Đánh Giá)
0.0