Forum: Ruby on Rails rjs issue with Internet Explorer

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jean-Etienne (Guest)
on 2006-06-14 10:44
Hi,


When executing some rjs templates:

page.insert_html :bottom, 'contractors', :partial => 'contractor'
page.visual_effect :highlight, "contractor#{@contract.contractor.id}",
:duration => 1

Works fine on Firefox, but nothing happens on IE. Is there any
equivalent of Firebug for Internet Explorer? Are there "well-known" tips
for IE?

Thank you,
Jean-Etienne - http://www.novAgora.hu
Jean-Etienne (Guest)
on 2006-06-14 10:48
Error stack I got with IE:

---------------------------
Microsoft Internet Explorer
---------------------------
new Insertion.Bottom("contractors", "<tr id='contractor2'>
    <td class='dtr'>Bajnóczi Géza Vajk<input
id=\"contract_2_contractor_id\" name=\"contract[2][contractor_id]\"
type=\"hidden\" value=\"2\" /><input id=\"contract_2_portfolio_id\"
name=\"contract[2][portfolio_id]\" type=\"hidden\" value=\"0\" /></td>
    <td class='dtr'><select name=\"contract[2][starting_on(1i)]\">
<option value=\"2001\">2001</option>
<option value=\"2002\">2002</option>
<option value=\"2003\">2003</option>
<option value=\"2004\">2004</option>
<option value=\"2005\">2005</option>
<option value=\"2006\" selected=\"selected\">2006</option>
<option value=\"2007\">2007</option>
<option value=\"2008\">2008</option>
<option value=\"2009\">2009</option>
<option value=\"2010\">2010</option>
<option value=\"2011\">2011</option>
</select>
<select name=\"contract[2][starting_on(2i)]\">
<option value=\"1\">January</option>
<option value=\"2\">February</option>
<option value=\"3\">March</option>
<option value=\"4\">April</option>
<option value=\"5\">May</option>
<option value=\"6\" selected=\"selected\">June</option>
<option value=\"7\">July</option>
<option value=\"8\">August</option>
<option value=\"9\">September</option>
<option value=\"10\">October</option>
<option value=\"11\">November</option>
<option value=\"12\">December</option>
</select>
<select name=\"contract[2][starting_on(3i)]\">
<option value=\"1\">1</option>
<option value=\"2\">2</option>
<option value=\"3\">3</option>
<option value=\"4\">4</option>
<option value=\"5\">5</option>
<option value=\"6\">6</option>
<option value=\"7\">7</option>
<option value=\"8\">8</option>
<option value=\"9\">9</option>
<option value=\"10\">10</option>
<option value=\"11\">11</option>
<option value=\"12\">12</option>
<option value=\"13\">13</option>
<option value=\"14\" selected=\"selected\">14</option>
<option value=\"15\">15</option>
<option value=\"16\">16</option>
<option value=\"17\">17</option>
<option value=\"18\">18</option>
<option value=\"19\">19</option>
<option value=\"20\">20</option>
<option value=\"21\">21</option>
<option value=\"22\">22</option>
<option value=\"23\">23</option>
<option value=\"24\">24</option>
<option value=\"25\">25</option>
<option value=\"26\">26</option>
<option value=\"27\">27</option>
<option value=\"28\">28</option>
<option value=\"29\">29</option>
<option value=\"30\">30</option>
<option value=\"31\">31</option>
</select>
</td>
    <td class='dtr'><select name=\"contract[2][finishing_on(1i)]\">
<option value=\"2001\">2001</option>
<option value=\"2002\">2002</option>
<option value=\"2003\">2003</option>
<option value=\"2004\">2004</option>
<option value=\"2005\">2005</option>
<option value=\"2006\" selected=\"selected\">2006</option>
<option value=\"2007\">2007</option>
<option value=\"2008\">2008</option>
<option value=\"2009\">2009</option>
<option value=\"2010\">2010</option>
<option value=\"2011\">2011</option>
</select>
<select name=\"contract[2][finishing_on(2i)]\">
<option value=\"1\">January</option>
<option value=\"2\">February</option>
<option value=\"3\">March</option>
<option value=\"4\">April</option>
<option value=\"5\">May</option>
<option value=\"6\" selected=\"selected\">June</option>
<option value=\"7\">July</option>
<option value=\"8\">August</option>
<option value=\"9\">September</option>
<option value=\"10\">October</option>
<option value=\"11\">November</option>
<option value=\"12\">December</option>
</select>
<select name=\"contract[2][finishing_on(3i)]\">
<option value=\"1\">1</option>
<option value=\"2\">2</option>
<option value=\"3\">3</option>
<option value=\"4\">4</option>
<option value=\"5\">5</option>
<option value=\"6\">6</option>
<option value=\"7\">7</option>
<option value=\"8\">8</option>
<option value=\"9\">9</option>
<option value=\"10\">10</option>
<option value=\"11\">11</option>
<option value=\"12\">12</option>
<option value=\"13\">13</option>
<option value=\"14\" selected=\"selected\">14</option>
<option value=\"15\">15</option>
<option value=\"16\">16</option>
<option value=\"17\">17</option>
<option value=\"18\">18</option>
<option value=\"19\">19</option>
<option value=\"20\">20</option>
<option value=\"21\">21</option>
<option value=\"22\">22</option>
<option value=\"23\">23</option>
<option value=\"24\">24</option>
<option value=\"25\">25</option>
<option value=\"26\">26</option>
<option value=\"27\">27</option>
<option value=\"28\">28</option>
<option value=\"29\">29</option>
<option value=\"30\">30</option>
<option value=\"31\">31</option>
</select>
</td>
    <td class='dtr'><a href='javascript:void()'
onclick=\"Element.remove('contractor2')\">Remove</a></td>
</tr>");
new Effect.Highlight("contractor2",{duration:1});
---------------------------
OK
---------------------------
Jean-Etienne (Guest)
on 2006-06-15 16:07
Thanks to http://kekova.ca/articles/2006/04/15/ie_prototype_tr_error

Is this issue fixed in trunk?
This topic is locked and can not be replied to.