# Page.insert\_html

**URL:** <https://www.ruby-forum.com/t/page-insert-html/103570>\
**Category:** Rails\
**Created:** [May 8, 2007, 12:17am UTC](https://www.ruby-forum.com/t/page-insert-html/103570 "2007-05-08T00:17:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimache](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c67d28/32.png) [@jimache](https://www.ruby-forum.com/u/jimache)\
**Post date:** [May 8, 2007, 12:17am UTC](https://www.ruby-forum.com/t/page-insert-html/103570/1 "2007-05-08T00:17:22Z")

</div>

Hi everyone,

In one of the actions i am using page.insert\_html, t works fine in IE7  
and Mozila. Is does not seem to work in IE6. Anyone aware of such  
problems… i’m stuck… any help is appreciated; the element i am  
inserting into is a

page.insert\_html :after, ‘company’+params[:id].to\_s, :partial  
=\>“group”, :id =\> params[:id]

and the aprtia is nothing more than a div

  
\<%= text\_field 'cp ', 'cp\_id'+params[:id].to\_s, :style=\>"width:150px" %\> \<%= link\_to\_function(image\_tag('/images/sc.png'), "document.getElementById( ........%\>

Thank you,
