# \[newbie\] rails and rjs

**URL:** <https://www.ruby-forum.com/t/newbie-rails-and-rjs/87068>\
**Category:** Rails\
**Created:** [February 27, 2007, 11:12pm UTC](https://www.ruby-forum.com/t/newbie-rails-and-rjs/87068 "2007-02-27T23:12:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 27, 2007, 11:12pm UTC](https://www.ruby-forum.com/t/newbie-rails-and-rjs/87068/1 "2007-02-27T23:12:43Z")

</div>

I am writing an application that is making use of RJS Template. I am  
using 'page.form.reset ’ to clear the form but it does not seem to  
set the focus back on the first element in the form. Do I need to  
execute something else as well.

cheers
