# Having link\_to\_function with insert\_html locks up browser when doing replace\_html

**URL:** <https://www.ruby-forum.com/t/having-link-to-function-with-insert-html-locks-up-browser-when-doing-replace-html/178248>\
**Category:** Rails\
**Created:** [October 31, 2009, 9:20pm UTC](https://www.ruby-forum.com/t/having-link-to-function-with-insert-html-locks-up-browser-when-doing-replace-html/178248 "2009-10-31T21:20:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrmanishs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/51bf81/32.png) [@mrmanishs](https://www.ruby-forum.com/u/mrmanishs)\
**Post date:** [October 31, 2009, 9:20pm UTC](https://www.ruby-forum.com/t/having-link-to-function-with-insert-html-locks-up-browser-when-doing-replace-html/178248/1 "2009-10-31T21:20:25Z")

</div>

Hello,

I have a link\_to\_function in a div, and when I try to call  
replace\_html on the div, the link\_to\_function locks up my browser when  
it tries to replace my div. Any idea why and how to solve it? It’s  
consistently reproducible.

Manish
