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.
josh.charles (Guest)
on 2005-11-12 19: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 C.</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?

Per D. (Guest)
on 2005-11-12 22:58
You need a <tbody> for it to work in IE.
This topic is locked and can not be replied to.