En cours

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.

Compétences : Javascript, jQuery / Prototype

Voir plus : 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

Concernant l'employeur :
( 6 commentaires ) Huntington Beach, United States

N° du projet : #1633213

Décerné à :

jDevAndDesign

please check your pmb

40 $ USD en 1 jour
(136 Commentaires)
6.9