Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 04-17-2008 12:51:22

Dave
Member
Registered: 07-05-2003
Posts: 11233

JavaScript Assistance requested

I've been banging my head on the wall for too long over this today and I'm hoping that someone better with JS than I am can help.

Edit: Turned out to just be far too many hours of staring at code which caused me to miss the forest even though I could see the trees.  Problem has been resolved.

Last edited by Dave (04-18-2008 05:38:19)

Offline

 

#2 04-17-2008 14:25:12

Perkster
Member
From: Parksville BC Canada
Registered: 10-05-2004
Posts: 349
Website

Re: JavaScript Assistance requested

Just a thought,  Could it be that the url to google should be https:  ??  rather than http  being it is coming from https ccp6 checkout ??

http://checkout.google.com/files/digital/ga_post.js

??

-mike


Mike Perks
Linux CD Shop - /shop for Linux distributions

ReviewLinux.Com - Linux OS News & Review Site

Offline

 

#3 04-17-2008 14:38:21

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: JavaScript Assistance requested

The first piece of JS is what does the communication with Google to get the value that will eventually end up in the hidden variable.  It's written to use whatever method (http or https) the current connection is.  The 3rd piece was a copy and paste but your comment is worth considering in the real implementation. 

In the end however it's the second piece of JS that should be creating the variable which is the one named when the error is thrown.

Offline

 

Board footer