I'm sorry, this is Ruby forum. You may be looking for JavaScript/DHML one.
To answer your question, your JavaScript call may be invalid. The last variable 'refreshConditionOptions' is a global variable from somewhere?
Taywin
Posting Maven
2,633 posts since Apr 2010
Reputation Points: 275
Solved Threads: 376
Skill Endorsements: 17
OK, then I need to see your raw page (HTML+Ruby). You need to look at the part where :onclick=>"..." and ensure that the it concatenate the variable.
Taywin
Posting Maven
2,633 posts since Apr 2010
Reputation Points: 275
Solved Threads: 376
Skill Endorsements: 17