# Button\_to\_remote using jQuery and Rails 3

**URL:** <https://www.ruby-forum.com/t/button-to-remote-using-jquery-and-rails-3/191796>\
**Category:** Rails\
**Created:** [July 19, 2010, 12:53am UTC](https://www.ruby-forum.com/t/button-to-remote-using-jquery-and-rails-3/191796 "2010-07-19T00:53:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_ASRichman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/13edae/32.png) [@Mark\_ASRichman](https://www.ruby-forum.com/u/Mark_ASRichman)\
**Post date:** [July 19, 2010, 12:53am UTC](https://www.ruby-forum.com/t/button-to-remote-using-jquery-and-rails-3/191796/1 "2010-07-19T00:53:47Z")

</div>

Is this possible given the button\_to\_remote function seems to be  
defined as a Prototype helper? I’ve replaced my /public/javascripts/  
rails.js with the jQuery driver.

When I try to use button\_to\_remote I get the error undefined method  
‘button\_to\_remote’ for #\<#Class:0x000001078d7090:0x0000010789ad20\>

If this is not possible using button\_to\_remote, how can I accomplish  
the same thing using jQuery + Rails 3.

Thanks,  
Mark
