Ruby on Rails Tuesday, March 10, 2015

On Tue, Mar 10, 2015 at 4:57 AM, Sai Ch <lists@ruby-forum.com> wrote:

> I want to pass user clicked hole-id to check ...

If you want to evaluate a *client-side* variable value using Ruby on
the server you'll have to send it via AJAX. Otherwise include logic
in your JavaScript so the client can handle the checking.

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yDL9t_u7BDQHWOEv_g6DCWfTV90UXxCMB5YRLNErAcYqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment