Solved

Javascript won't run.

Posted on 2014-03-18
2
208 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

896 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now