Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Javascript help

Jun 1, 2007 5:01AM PDT

Hi there,

Please help demystify the following...

I have a foreign language keyboard that works correctly when I run it locally on my computer. However, it does not work when I upload it to my web server.

See this page: http://www.oasisoflove.com/3/russiankeyboard.html

The keys are not labelled.

However, if you View Source, and save the source to your desktop. Then double click the saved file to view it, you would see that the buttons "are labelled". Really strange!

I'm at my wits end as to why javascript would work locally, but not online.

Discussion is locked

- Collapse -
Compare yours to the code at this link.
Jun 1, 2007 5:04AM PDT
- Collapse -
Yes, but
Jun 1, 2007 5:19AM PDT

Hi Rob,

I came across the apronus keyboard, but it's woefully incomplete. It's even missing a fundamental letter in the Russian alphabet.

Anyway, if I can't get the problematic one to work, I'll have to modify the apronus kbd to include more keys.

If anybody can answer my original question, I'd appreciate it.

Thanks.

- Collapse -
That's UNICODE and JAVASCRIPT.
Jun 1, 2007 5:24AM PDT
- Collapse -
I understand your point.
Jun 1, 2007 6:36AM PDT

However, it does not explain why the same browser would run a script locally, but not online. I've had problems occur during remote scripting such as ajax. But there is no remote scripting here.

So, if it won't work because type="text/javascript" is omitted, it should happen in all cases, not only while on a remote server.

The question remains.

Thanks for trying Rob. It just is very strange to me.