[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Javascript error in homepage

Posted on 2009-04-15
11
Medium Priority
?
329 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 2000 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
 
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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…
Suggested Courses

834 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