Solved

Javascript won't run.

Posted on 2014-03-18
2
214 Views
Last Modified: 2014-03-19
I have a html file which runs a Javascript.  The code works well on my home computer locally.  It works correctly after I uploaded it to my website and then test from home using either Internet Explorer or Firefox.

At work on a managed network it doesn't work, but a visit to a javascript test website shows that javascript is enabled.

link to my webpage: http://www.reissprojects.com/TextExpander/TextExpansion1.html

This app will expand certain abbreviations when they are typed into the text box.

typing cci will expand to "customer called in"

typing um will expand to "under management for"
0
Comment
Question by:rreiss60
2 Comments
 

Author Comment

by:rreiss60
ID: 39937444
Got it to work under Firefox, but not Internet Explorer on the work computer.
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 39937641
The copytoclipboard method s not cross browser.  You will need to code it like it is done here:
http://www.deluxeblogtips.com/2010/06/javascript-copy-to-clipboard.html

Then hope that you are not being blocked on the work computer.  Any code that copies to the clipboard is considered dangerous code so AV or firewall software may prevent it from executing.  It may also cause a security warning from browsers depending on security setting. The security issues will generally be in play for any activity that accesses browser controls or data stores by means other tan being initiated by the user.

Cd&
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupSumClump challenge 9 126
Example unit tests with AngularJS 3 47
help with PowerShell script for registry permissions 8 104
Powershell  and PSExec = Password failure 5 24
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question