following code might help you <% if rails_condition%> <script>
func_a(arg1,arg2,arg3); </script> <%end%> Regards, Naren On Tue, Feb 9, 2010 at 5:21 PM, junyoung kim <li...@ruby-forum.com> wrote: > actually, this is not what i want to do ;) > sorry my poor english sentences made you misunderstand it. > > okay. > > if there is a general website like amazon, the site has plenty of > javascript function. > > the one of them is func_a() function what I want to call it. > > in my local, > there is a ruby script to check some situation that does satisfy any > conditions. > by using this ruby script, I want to call func_a() in a server-side. > > is this possible? > I think this is really easy functionality. but I could not find any > solutions for me. > > thanks for your concerns. > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.