Đã hoàn thành

Cookie help with function

Using the cookie code here: [url removed, login to view]

Have a function in my header where I need to:

a) on page load, I need to set a cookie;

b) if no cookie value exists, check, then add cookie;

c) that refreshes every 30 seconds, BUT

d) on page reload, it doesn't check unless the value in the cookie is 30+ seconds...

The script [url removed, login to view] is linked to my index page.

You can see my initial cookie efforts on the index page with the function get_data() (line 177), where I attempt to $.[url removed, login to view] and $ .cookieBind().

Not working as I need above.

The cookie will be retrieving values from the getNetworkingMessages.php - I want a cookie to be set to follow the user so when they go through the website, it refreshes every 30 seconds, but does not call the server on every page click.

Kĩ năng: Javascript, jQuery / Prototype

Xem nhiều hơn: prototype help, reload page jquery, jquery reload page, help with my b, help with javascript, function, d prototype, cookie, jquery index, code function, header jquery, load doesn, jquery load http page, javascript check page reload, script prototype, check google index, need help jquery, load page page jquery, jquery page load function, add cookie, javascript http header, help line, help google add, add function, cookie code

Về Bên Thuê:
( 6 nhận xét ) Huntington Beach, United States

ID dự án: #1633213

Được trao cho:


please check your pmb

$40 USD trong 1 ngày
(136 Đánh Giá)