I'm building a bit of a test-case JS application, something very basic, but have run into some problems.
I'm trying to use a HTML form for a user to enter a ...
On a site I'm coding, there's a Partners page that contains, amongst other things, a phone number for that business to view.
My boss wants this phone number to be hidden then, ...
I am setting a cookie for each navigation container that is clicked on.
It sets an array that is joined and set the cookie value.
if its clicked again then its removed from ...
Does anyone have a piece of javascript code that creates a cookie and stores an array in it? If you also have the code to read through through cookie and delete ...
Is it possible to create a cookie with array?
Like i would like to store a[0]='peter', a['1']='esther', a['2']='john' in cookie with javascript. May I know how can i do it? Thank you
...
Today I have a Ajax solution where the server keeps track of selections are doing and updates the page. I'm redoing this so it will be all done with javascript on ...
I'm having trouble with cookies. I have a bunch of links that when clicked on, create a cookie. For each link I need to be able to save that cookie to ...
I'm having trouble with cookies. I have a bunch of links that when clicked on, create a cookie. For each link I need to be able to save that cookie value ...
I have a problem with javascript cookies that I have been struggling with for days.
I have this function(almost the same from w3):
function getCookie(c_name)
{
var i,x,y,ARRcookies=document.cookie.split(";");
for (i=0;i<ARRcookies.length;i++)
{
x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
...
Hey there guys. I have been trying to figure out how this is to be done, but I am losing the battle here. This is what I have coded so far: ------------------------------------------------------------------------------------------------ Page One: (User is logged out) -- Javascript page * You add a "session"(s) to your profile. * This "session"(s) ID is stored in the cookie. (When performing an ...
If you've seen from my previous posts in this forum, you may have noticed that i'm a newbie when it comes to javascript, anyway. I'm trying to create an array sort of thing to convert the country name's to continent, and set it as a cookie. I spent all that time writing a PHP script for this same thing only to ...
Hi, I've got an object that holds an array of all available cookies on a page. I want to loop through that array, search for a set of cookies that I know by name. The may or may not be there in addition to other cookies. What I want to do is remove any cookies that are not the 5 that ...
Nah I dont think so .... if you want to store heavy duty stuff like that I think youre going to have to get into sessions with some server-side language. Cookies are pretty basic stuff and are really nothing more than a text file. You could however store these arrays on your site (like in a db) and then retrieve the ...