On Jun 20, 2013, at 2:51 AM, Muthu Selvan wrote:

> Hi All ,
> 
>    I am new to the ruby , i want click the object on element ( any object , 
> Ex: Calculator)  after click i need Drag and Drop the
>  
>    element continuously for some time , please let me know how to do it in 
> ruby in Mac OS ? 

You'll need to use JavaScript for this. Ruby doesn't run in the browser, and 
drag events aren't sent to the server every. Click events only get sent to the 
server if they are on a link. With JavaScript, you can attach listener 
functions to almost any interaction gesture you like. These functions can in 
turn trigger HTTP requests or other DOM events or behavior. 

Walter

-- 
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/125C31AF-533D-4E69-BE74-8F6A1C90C6F7%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to