# In\_place\_editor\_field and ok\_button

**URL:** <https://www.ruby-forum.com/t/in-place-editor-field-and-ok-button/66529>\
**Category:** Rails\
**Created:** [August 26, 2006, 4:25pm UTC](https://www.ruby-forum.com/t/in-place-editor-field-and-ok-button/66529 "2006-08-26T16:25:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alain\_Pilon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@Alain\_Pilon](https://www.ruby-forum.com/u/Alain_Pilon)\
**Post date:** [August 26, 2006, 4:25pm UTC](https://www.ruby-forum.com/t/in-place-editor-field-and-ok-button/66529/1 "2006-08-26T16:25:25Z")

</div>

When using the in\_place\_editor\_field function, I cant ue the option to  
remove the ok\_button or cancel link.

I have look around and couldnt find anything…

i have tried many code combos and luck luck. anyone has managed to  
remove that darn OK button?

Thanks!

---

<div class="post-metadata">

**Author:** ![Alain\_Pilon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@Alain\_Pilon](https://www.ruby-forum.com/u/Alain_Pilon)\
**Post date:** [August 27, 2006, 1:08pm UTC](https://www.ruby-forum.com/t/in-place-editor-field-and-ok-button/66529/2 "2006-08-27T13:08:18Z")

</div>

I don’t know if this will actually work, I’ve only used  
in\_place\_editor\_field once, but have you tried hiding it through the  
css?

form.inplaceeditor-form input[type=“submit”]  
display: none;  
}

Worth a try…

---

<div class="post-metadata">

**Author:** ![Alain\_Pilon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@Alain\_Pilon](https://www.ruby-forum.com/u/Alain_Pilon)\
**Post date:** [August 27, 2006, 3:54pm UTC](https://www.ruby-forum.com/t/in-place-editor-field-and-ok-button/66529/3 "2006-08-27T15:54:17Z")

</div>

Hi,

your idea kinda work but its more a workaround than anything else (but  
THANKS!). How can I select the ‘cancel’ link? I have tried the selector  
cancel, a, a href and nothing worked…

Thanks again.

I am still looking for someone to explain the use of the  
command too!

idleFingers wrote:

> I don’t know if this will actually work, I’ve only used  
> in\_place\_editor\_field once, but have you tried hiding it through the  
> css?
> 
> form.inplaceeditor-form input[type=“submit”]  
> display: none;  
> }
> 
> Worth a try…

---

<div class="post-metadata">

**Author:** ![Alain\_Pilon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@Alain\_Pilon](https://www.ruby-forum.com/u/Alain_Pilon)\
**Post date:** [August 30, 2006, 2:06am UTC](https://www.ruby-forum.com/t/in-place-editor-field-and-ok-button/66529/4 "2006-08-30T02:06:47Z")

</div>

Other than the CSS hack, anyone has a solution? I cant count how many  
hours I have spent on this and I cant believe that I am the first person  
to tried it!

---

<div class="post-metadata">

**Author:** ![Alain\_Pilon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@Alain\_Pilon](https://www.ruby-forum.com/u/Alain_Pilon)\
**Post date:** [August 27, 2006, 4:10pm UTC](https://www.ruby-forum.com/t/in-place-editor-field-and-ok-button/66529/5 "2006-08-27T16:10:38Z")

</div>

I believe attribute selectors aren’t recognised in MS IE 6.0,  
therefore the style won’t be applied.

Regards,  
Serdar

> **[kilic.net](http://weblog.kilic.net/)**
>
> kilic.net - the weblog of Serdar Kilic
