On Wed, May 28, 2014 at 1:01 PM, Pierre-Andre M. <li...@ruby-forum.com> wrote:

> myPlayer= document.getElementById('example_video_1');

>  My question is, how do I get that elementID  through my view back to
> this js file?

>   <video id="example_video_1" ...

? It appears to already be there...

-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

-- 
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+unsubscr...@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/CACmC4yDUyN4SeV-m6_ZrP5RU-8Jb5imKCHCH3yARTyQKTZYUQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to