Solved

Javascript error in homepage

Posted on 2009-04-15
11
307 Views
Last Modified: 2012-05-06
When I load this page http://alturl.com/g8b3 in IE7 I get a Javascript error about "ZeroClipboard", while in Firefox I notice no problem.

What cause the problem in IE7?
0
Comment
Question by:lucavilla
  • 5
  • 5
11 Comments
 
LVL 19

Expert Comment

by:erikTsomik
Comment Utility
the error occurs on line 919
where ZeroClipBoard
Is undefined.
So what you can do is to get the browser source code and find that line maybe that name is no longer being used
0
 

Author Comment

by:lucavilla
Comment Utility
The problem is that the source code (the PHP file) has only 654 lines...
0
 
LVL 19

Expert Comment

by:erikTsomik
Comment Utility
when you run the app in the browser right clik and select Sourse code and go to line 919
0
 

Author Comment

by:lucavilla
Comment Utility
> browser right clik and select Sourse code

I did it and I see only 702 lines.   Why?
0
 
LVL 2

Accepted Solution

by:
gaston_acevedo earned 500 total points
Comment Utility
in the included script-get.js, line 918 you try to use the object ZeroClipboard, but the include of  <script type="text/javascript" src="ZeroClipboard.js"></script>
is missing in the main page.

Add this include (and of course the js file) to the page before
<script type="text/javascript" src="script-get.js"></script>
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 19

Expert Comment

by:erikTsomik
Comment Utility
can you post that code
0
 

Author Closing Comment

by:lucavilla
Comment Utility
right! thanks!
0
 
LVL 19

Expert Comment

by:erikTsomik
Comment Utility
i should have got some partial points too
0
 

Author Comment

by:lucavilla
Comment Utility
erikTsomik, following your instructions I only see 702 lines
0
 
LVL 19

Expert Comment

by:erikTsomik
Comment Utility
you did not say that you do have external js files
0
 

Author Comment

by:lucavilla
Comment Utility
I didn't know that it counts them too
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

763 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

13 Experts available now in Live!

Get 1:1 Help Now