This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IE 7 Error on Page

 
sankey jain
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 4404
251
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
sankey jain
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Error.JPG
[Thumbnail for Error.JPG]
Error
 
sankey jain
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
compare.JPG
[Thumbnail for compare.JPG]
Comparison
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4404
251
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing to do with JSP.
I'm moving this to the HTML/JavaScript forum.
 
sankey jain
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Devaka Cooray wrote:Nothing to do with JSP.
I'm moving this to the HTML/JavaScript forum.


okay, Thanks
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When does the error get thrown? Page load? When something is clicked?

Eric
 
sankey jain
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric Pascarello wrote:When does the error get thrown? Page load? When something is clicked?

Eric


Occurs on Page load
 
sankey jain
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any suggestions please
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic