File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes IE 7 Error on Page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "IE 7 Error on Page" Watch "IE 7 Error on Page" New topic
Author

IE 7 Error on Page

sankey jain
Ranch Hand

Joined: Apr 29, 2010
Posts: 58
Hi All,

I am getting the invalid argument error in my page thus preventing a popup from being displayed, i suspect the culprit code to be



Any suggestions ?
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3164
    
  47

Are you getting a server-side error on JSP, or client-side error with the JavaScript code?
Please let us know more details about the error message.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
sankey jain
Ranch Hand

Joined: Apr 29, 2010
Posts: 58
Devaka Cooray wrote:Are you getting a server-side error on JSP, or client-side error with the JavaScript code?
Please let us know more details about the error message.


The error appears on the browser

as part of normal flow, the below code should execute fine, but when the #session.ackval value is true, it throws the attached error



Note: This error only happens in internet explorer, pop up appears in mozilla



[Thumbnail for Error.JPG]

sankey jain
Ranch Hand

Joined: Apr 29, 2010
Posts: 58
Devaka Cooray wrote:Are you getting a server-side error on JSP, or client-side error with the JavaScript code?
Please let us know more details about the error message.


Further to my above reply, please also see the comparison, the only change made is that, i have introduced this piece of code, checking the session variable ackval



[Thumbnail for compare.JPG]

Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3164
    
  47

Nothing to do with JSP.
I'm moving this to the HTML/JavaScript forum.
sankey jain
Ranch Hand

Joined: Apr 29, 2010
Posts: 58
Devaka Cooray wrote:Nothing to do with JSP.
I'm moving this to the HTML/JavaScript forum.


okay, Thanks
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
When does the error get thrown? Page load? When something is clicked?

Eric
sankey jain
Ranch Hand

Joined: Apr 29, 2010
Posts: 58
Eric Pascarello wrote:When does the error get thrown? Page load? When something is clicked?

Eric


Occurs on Page load
sankey jain
Ranch Hand

Joined: Apr 29, 2010
Posts: 58
Any suggestions please
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IE 7 Error on Page