# How to extend the page element in RJS

**URL:** <https://www.ruby-forum.com/t/how-to-extend-the-page-element-in-rjs/87125>\
**Category:** Rails\
**Created:** [February 28, 2007, 12:32pm UTC](https://www.ruby-forum.com/t/how-to-extend-the-page-element-in-rjs/87125 "2007-02-28T12:32:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![franee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/b5a626/32.png) [@franee](https://www.ruby-forum.com/u/franee)\
**Post date:** [February 28, 2007, 12:32pm UTC](https://www.ruby-forum.com/t/how-to-extend-the-page-element-in-rjs/87125/1 "2007-02-28T12:32:26Z")

</div>

Hi,

How can I extend the page element in the RJS template?

Thanks,  
/franee

---

<div class="post-metadata">

**Author:** ![franee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/b5a626/32.png) [@franee](https://www.ruby-forum.com/u/franee)\
**Post date:** [February 28, 2007, 3:29pm UTC](https://www.ruby-forum.com/t/how-to-extend-the-page-element-in-rjs/87125/2 "2007-02-28T15:29:12Z")

</div>

Francis S. wrote:

> Hi,
> 
> How can I extend the page element in the RJS template?
> 
> Thanks,  
> /franee

Never mind guys, i found the info i needed while googling around 🙂

---

<div class="post-metadata">

**Author:** ![franee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/b5a626/32.png) [@franee](https://www.ruby-forum.com/u/franee)\
**Post date:** [March 1, 2007, 11:57pm UTC](https://www.ruby-forum.com/t/how-to-extend-the-page-element-in-rjs/87125/3 "2007-03-01T23:57:01Z")

</div>

> Francis S. wrote:
> 
> > Hi,
> > 
> > How can I extend the page element in the RJS template?

> Never mind guys, i found the info i needed while googling around 🙂

Could you provide a link to what you found? Otherwise, you just left a  
false trail in the archives for the next poor slob who googles around!

And try this:

script/plugin install -x [yar\_wiki - Revision 475: /](http://phlip.svnrepository.com/svn/yar_wiki/)

It shows how to add click, assert, and assert\_ajax to the  
JavaScriptGenerator.

–  
Phlip  
[http://c2.com/cgi/wiki?ZeekLand](http://c2.com/cgi/wiki?ZeekLand) ← NOT a blog!!
