Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Facing problem to pass a quoted String as a parameter in javascript function

 
Pradeep Chaubey
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear members,
I am facing a problem passing a parameter under a single quote in javascript function in IE8, Its working fine in firefox.
I am using Tapestry 5. My code is as follows :


I tried the in this format also :


The javascript function never gets called and when I remove the Quote from the String it works.
Plase help me to resolve the issue.

 
Chris Baron
Ranch Hand
Posts: 1061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe it's the leading "javascript:". That doesn't belong to an onclick attribute.
 
Pradeep Chaubey
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Chris ,

I have got my problem resolved. It was not because of leading javascript. Actually the parameters were
dynamically getting populated and the bean which was doing this, was having wrong value for a quoted String.
That's why the javascript function was not called.

Thank you very much, you spent your valuable time in this problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic