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

javascript function with argument not getting called in display tag

 
Kousik Majumder
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have used below code. The values are showing properly. But I can not receiving the argument value in javascript function.

 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try putting semicolon:
 
Kousik Majumder
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No..still it is not working....
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A quick Google search and and it tell me that the "javascript:function();" should be only used to do some kind of navigationon page and not for calling the DOM operated JS function.
For your need, people suggest this best approach:


And to get better result, you should have asked this question in "HTML-JavaScript" section.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic