If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

localStorage works in all browser since IE8, no compat concerns there. The file:// mode in IE, which js is not really meant for, is the only "exception" i know of. Many Many people block cookies using an add-on, and IE7 is < 1%, so it would not suprise me if localStorage is actually more reliable than cookies in the real world. A good litmus? Advertisers use it.

I don't get the point about cookies: IE won't read chrome's cookies any better than it would its localStorage, no disadvantage there.
considering the performance hits that cookies bestow, i avoid them by any means i can.

One more (final???) question for my own understanding...

I was not aware that I was using "The file:// mode in IE,..." as you discuss above.
Are you saying that is a mode that occurs
when I execute the HTML from a local file on my computer from any browser
as opposed to having the script as a server file?

I was not aware that I was using "The file:// mode in IE,..." as you discuss above.
Are you saying that is a mode that occurs
when I execute the HTML from a local file on my computer from any browser
as opposed to having the script as a server file?

that's exactly what i'm saying. IE used to leave the door wide-open, you could ajax any domain, read and write files, write registry keys etc, then malicious FSO and activeX attacks started propagating on windows machines (shocking), and M$ took a lot of heat for it.

so, ie over-compensated imho and locked everything down tight when a page is loaded from a file. Since a server implies a paper trail to a registered entity, they allow MORE freedom on http:// than file://.

chrome and FF have always been fairly conservative with perms on file://s, but they too have batoned the hatches more and more as time goes on. you used to be able to ajax local files from any folder on the drive in FF, then it was sub-dir files only, then they stopped even letting you list sub-folders, so you have to know the exact path of a file to ajax it.

I'm just a little curious why anyone with a Windows machine *WOULD* use file:// access.

At least anyone with any version of Windows other than the "Home Basic" version.

Even with "Home Premium" (or "Home Extended" or whatever the name is for a given Windows version) in Windows XP, Windows Vista, Windows 7, and Windows 8 (and even Win95 and Win98 if anybody cares), you *DO* have IIS available to you and it's trivial to set up and then use.

Granted, the basic version of IIS has some limitations. For example, you are only allowed one "domain" where you can support multiple domains on any Windows Server version. But those limitations have only given me problems maybe once or twice a year.

So I haven't ever used "file://" except occasionally to test out assertions in this forum that it doesn't work (and it doesn't).

And in any case, if you ever want to publish code to a real server, testing it first in IIS on your home machine makes lots of sense.

If you *ARE* stuck with the most basic version of Windows, it's really not much cost to upgrade it. And most PCs nowadays come with either Win7 or Win8 Home Premium edition either free or for a nominal upgrade cost.

Last but not least, if you do install IIS on your home machine, then you can also develop ASP.NET applications or PHP applications. Yes, IIS 7 supports PHP.

Internet Information Services. That's Microsoft's universal web server. It's what all Windows-based systems run for a web server (well, you can load Apache onto Windows...but IIS is the default). It comes in slightly different "flavors", depending on what version of Windows you are using. As I mentioned, on Home Premium it only supports a single web site, whereas on Windows Server (even Windows Small Business Server) it will support dozens or more web sites. I know one system I work on with Small Business Server supports 22 different IP Addresses, for example (more than that number of web sites, because [for example] we have both ".com" and ".net" pointed to the same IP address for all).

Suggestions:
1. Keep asking questions until the answers start to become familiar.
2. Create small scripts to begin and test them until you find no further errors.
3. Follow other threads on this (and other) forums looking for concepts you can incorporate into your own programs.
4. Try to modularize or functionalize as much as possible so you can re-use code at a later time.

Users who have thanked jmrker for this post:

You have a number of syntax errors in the HTML, like multiple <body> tags, mis-matched <td> </td> pairs
and an orphaned '<' character.

Click and Click1 are not really helping me understand the function.
Are they to be a total count of the number of times any item in the list on the left is clicked?
Or is the "clicked" count supposed to be for each item on the left?

Fix the HTML and then restate the problem associated with the linkedClick function you have added.

I am trying to get a tally of the number of times I have done a job in the text box on the far right. I have included the command in onclick, so that when it is clicked it tallys up the number of times I have done that job, and also adds up to the dollar amounts in the box underneath. This is so I can keep a separate tally for each job.

The problem is I can't separate the jobs with the funtion. I'm sorry, I don't know how to describe this properly.