# Anybody using SuperInPlaceControls?

**URL:** <https://www.ruby-forum.com/t/anybody-using-superinplacecontrols/126204>\
**Category:** Rails\
**Created:** [January 16, 2008, 10:19am UTC](https://www.ruby-forum.com/t/anybody-using-superinplacecontrols/126204 "2008-01-16T10:19:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![flyingzumwalt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/74df32/32.png) [@flyingzumwalt](https://www.ruby-forum.com/u/flyingzumwalt)\
**Post date:** [January 16, 2008, 10:19am UTC](https://www.ruby-forum.com/t/anybody-using-superinplacecontrols/126204/1 "2008-01-16T10:19:49Z")

</div>

Cool plugin but i got stuck.

[http://os.flvorful.com/super\_in\_place\_controls/demo](http://os.flvorful.com/super_in_place_controls/demo)

Everything is fine until I click OK button after I edit a column. It  
comes up:

RJS error: TypeError: $(element) has no properties

and

Element.update(“sku\_description\_4”, “ff”);  
$(‘sku\_description\_4\_form’).hide();  
Element.hide(“error\_messages”);  
$$(“#sku\_description\_4\_form #sku\_description”).map(function(value,  
index)  
return value.removeClassName(“fieldWithError”); })

Any ideas to fix it? I don’t even know where to start.

Thanks.

---

<div class="post-metadata">

**Author:** ![flyingzumwalt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/74df32/32.png) [@flyingzumwalt](https://www.ruby-forum.com/u/flyingzumwalt)\
**Post date:** [January 29, 2008, 7:23pm UTC](https://www.ruby-forum.com/t/anybody-using-superinplacecontrols/126204/2 "2008-01-29T19:23:54Z")

</div>

hi matt,

sorry about that, i really need to make some better docs 🙂

The plugin uses a div to display error messages. Chances are, this is  
the element the JS error is talking about.

There is a helper method called: inplace\_error\_div  
This method will drop a div container in your view for the plugin to  
target.

Hope that helps

–jake

flvorful

On Jan 16, 3:19 am, Matt Z. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![flyingzumwalt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/74df32/32.png) [@flyingzumwalt](https://www.ruby-forum.com/u/flyingzumwalt)\
**Post date:** [January 29, 2008, 7:31pm UTC](https://www.ruby-forum.com/t/anybody-using-superinplacecontrols/126204/3 "2008-01-29T19:31:02Z")

</div>

hi matt,

sorry about that, i really need to make some better docs 🙂

The plugin uses a div to display error messages. Chances are, this is  
the element the JS error is talking about.

There is a helper method called: inplace\_error\_div  
This method will drop a div container in your view for the plugin to  
target.

Hope that helps

–jake

flvorful

On Jan 16, 3:19 am, Matt Z. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
