8 replies [Last post]
mihirc
mihirc's picture
Offline
Leader
Pune, Maharashtra, India
Last seen: 5 years 6 weeks ago
Pune, Maharashtra, India
Timezone: GMT+5.5
Joined: 2007-05-09
Posts: 728
Points: 204

hi,
I have added a javascript to form persist js, and it is working quite good. But when you first visit the page, all the fields are defined as empty. It stores a cookie in the browser, and basically nowhere is the word "undefined."

mihir.

Proprietor - Thoughtfulviewfinder Services
Web Development | Design | Merchandise | Photography
My personal blog: MihirChhatre.com

Tags:
Triumph (not verified)
Anonymous's picture
Guru

Should I guess?

Should I guess?

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 5 years 28 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

it's the flux capacitor.

it's the flux capacitor. Definitely the flux capacitor...

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 6 years 7 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

Yep, I agree: the flux

Yep, I agree: the flux capacitor is the problem, but only insofar as it forms harmonic distortions with the Tachyon field when the EPS conduits are partially closed. The exact frequency of the harmonic distortions, being the sum of multiples (harmonics) of both the flux capacitor's inductive reactance and the Tachyon field's natural resonance are, by their very nature, undefined.

I thought everyone knew that!

Life's a b*tch and then you die!

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 1 year 4 weeks ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9668
Points: 801

I'll tell you what the problem is . . . .

Verschwindende wrote:
  • CSS doesn't make pies

mihirc
mihirc's picture
Offline
Leader
Pune, Maharashtra, India
Last seen: 5 years 6 weeks ago
Pune, Maharashtra, India
Timezone: GMT+5.5
Joined: 2007-05-09
Posts: 728
Points: 204

WHat are you guys talking

WHat are you guys talking about? Science?

Isnt this a CSS forum..

mihir. Smile

Proprietor - Thoughtfulviewfinder Services
Web Development | Design | Merchandise | Photography
My personal blog: MihirChhatre.com

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 1 year 4 weeks ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9668
Points: 801

Code

You haven't given us the information we need to help you, so we had a few guesses of our own Wink

Show us the code please Laughing out loud

Verschwindende wrote:
  • CSS doesn't make pies

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 6 years 7 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

mihirc - our responses are

mihirc - our responses are obviously too subtle for you. In plain English then: we haven't a clue what you're on about. And yes, this is a CSS forum, not a JavaScript forum. That said, if you can explain your problem properly then someone may be able to help you.

Life's a b*tch and then you die!

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 6 years 51 weeks ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

undefined is the value

undefined is the value javascript comes up with if a variable is, well, you guessed it, undefined. Initialise your variables to some suitable empty value, that may or may not require a test for undefined first.