?
Solved

Javascript won't run.

Posted on 2014-03-18
2
Medium Priority
?
219 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 2000 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

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

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

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 Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

718 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