Forum: Ruby on Rails Prototype Problem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
8c7a98649cdbbdf39eeed17ca9bdbbd3?d=identicon&s=25 josh.charles (Guest)
on 2005-11-12 18:10
(Received via mailing list)
I'm attempting a Insertion.Bottom operation on a table I'm working on.
 Unfortunately, I'm running into a browser problem.  The code works
perfectly in Firefox, but fails in IE.

Here is the simple code:

function ProcessForm()
	newname = $F('name');
	newloc = $F('location');
	html = '<tr><td>#</td><td>'+newname+'</td><td>'+newloc+'</td></tr>';
	new Insertion.Bottom( 'People', html );

The table looks like this:

<table id="People">
		<td>Josh Charles</td>
		<td>Kansas City, MO</td>
		<td>Tara Craven</td>
		<td>Kansas City, MO</td>

I'm sort of at a loss here.  Any ideas what might be happening?

5eb7dc9121bd474726f9f5568c9573ed?d=identicon&s=25 Per Djurner (pernod)
on 2005-11-12 21:58
You need a <tbody> for it to work in IE.
This topic is locked and can not be replied to.