Solved

Javascript error in homepage

Posted on 2009-04-15
11
308 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
ID: 24148299
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
ID: 24148442
The problem is that the source code (the PHP file) has only 654 lines...
0
 
LVL 19

Expert Comment

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

Author Comment

by:lucavilla
ID: 24148979
> 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
ID: 24149000
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
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.

 
LVL 19

Expert Comment

by:erikTsomik
ID: 24149006
can you post that code
0
 

Author Closing Comment

by:lucavilla
ID: 31570452
right! thanks!
0
 
LVL 19

Expert Comment

by:erikTsomik
ID: 24149143
i should have got some partial points too
0
 

Author Comment

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

Expert Comment

by:erikTsomik
ID: 24149197
you did not say that you do have external js files
0
 

Author Comment

by:lucavilla
ID: 24149519
I didn't know that it counts them too
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

Title # Comments Views Activity
Where do I learn ES6? 3 50
JavaScript export function not working in IE 15 36
Why does my button disappear? 3 28
form button worked now it doesnt anymore 9 41
This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

911 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

21 Experts available now in Live!

Get 1:1 Help Now