Solved

Javascript won't run.

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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Renaming with batch file 9 108
PS call executable Files in Order 4 35
This script has to run not aganist multiple servers using csv 16 48
Find unused columns in a table 12 96
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
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 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.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

751 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