I''m getting this strange message:
try {
Element.update("userlist", "\n\n<div
id=\"add_user_form\">\n\n\n
<tr class=\"odd-row\">\n <td
class=\"cell\">testing...</td>\n
<td class=\"cell\">still t...</td>\n <td
class=\"actions\">\n
<a href=\"/users/1\">View</a></td>\n
<td class=\"actions\">\n
<a href=\"/users/1/edit\">Edit</a> </td>\n
<td
class=\"actions\">\n \n\n <a
href=\"/users/1\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div id=\"testing...\"> \n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"even-row\">\n <td
class=\"cell\">justin_too@s...</td>\n <td
class=\"cell\">password</td>\n <td
class=\"actions\">\n
<a href=\"/users/3\">View</a></td>\n
<td class=\"actions\">\n
<a href=\"/users/3/edit\">Edit</a> </td>\n
<td
class=\"actions\">\n \n\n <a
href=\"/users/3\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div
id=\"justin_too-okLH5SSHHyRWk0Htik3J/w@public.gmane.org\"> \n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"odd-row\">\n <td
class=\"cell\">bobby@symant...</td>\n <td
class=\"cell\">yeeesss!</td>\n <td
class=\"actions\">\n
<a href=\"/users/4\">View</a></td>\n
<td class=\"actions\">\n
<a href=\"/users/4/edit\">Edit</a> </td>\n
<td
class=\"actions\">\n \n\n <a
href=\"/users/4\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div
id=\"bobby-okLH5SSHHyRWk0Htik3J/w@public.gmane.org\"> \n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"even-row\">\n <td
class=\"cell\">testing@syma...</td>\n <td
class=\"cell\">password!</td>\n <td
class=\"actions\">\n
<a href=\"/users/5\">View</a></td>\n
<td class=\"actions\">\n
<a href=\"/users/5/edit\">Edit</a> </td>\n
<td
class=\"actions\">\n \n\n <a
href=\"/users/5\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div
id=\"testing-okLH5SSHHyRWk0Htik3J/w@public.gmane.org\"> \n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"odd-row\">\n <td
class=\"cell\">another_test...</td>\n <td
class=\"cell\">testing...</td>\n <td
class=\"actions\">\n
<a href=\"/users/6\">View</a></td>\n
<td class=\"actions\">\n
<a href=\"/users/6/edit\">Edit</a> </td>\n
<td
class=\"actions\">\n \n\n <a
href=\"/users/6\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div
id=\"another_test-okLH5SSHHyRWk0Htik3J/w@public.gmane.org\"> \n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"even-row\">\n <td
class=\"cell\">jason_grauel...</td>\n <td
class=\"cell\">jasons_...</td>\n <td
class=\"actions\">\n
<a href=\"/users/7\">View</a></td>\n
<td class=\"actions\">\n
<a href=\"/users/7/edit\">Edit</a> </td>\n
<td
class=\"actions\">\n \n\n <a
href=\"/users/7\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div
id=\"jason_grauel-okLH5SSHHyRWk0Htik3J/w@public.gmane.org\"> \n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"odd-row\">\n <td
class=\"cell\">added</td>\n
<td class=\"cell\">adddddd...</td>\n <td
class=\"actions\">\n
<a href=\"/users/8\">View</a></td>\n
<td class=\"actions\">\n
<a href=\"/users/8/edit\">Edit</a> </td>\n
<td
class=\"actions\">\n \n\n <a
href=\"/users/8\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div id=\"added\"> \n
<tr
class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"even-row\">\n <td
class=\"cell\">sdfdsfsdfsdf</td>\n <td
class=\"cell\">sdafsad...</td>\n <td
class=\"actions\">\n
<a href=\"/users/9\">View</a></td>\n
<td class=\"actions\">\n
<a href=\"/users/9/edit\">Edit</a> </td>\n
<td
class=\"actions\">\n \n\n <a
href=\"/users/9\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div id=\"sdfdsfsdfsdf\">
\n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"odd-row\">\n <td
class=\"cell\">another_user...</td>\n <td
class=\"cell\">let''s_a...</td>\n <td
class=\"actions\">\n
<a href=\"/users/11\">View</a></td>\n
<td
class=\"actions\">\n <a
href=\"/users/11/edit\">Edit</a>
</td>\n <td class=\"actions\">\n
\n\n
<a href=\"/users/11\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div
id=\"another_user-okLH5SSHHyRWk0Htik3J/w@public.gmane.org\"> \n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"even-row\">\n <td
class=\"cell\">justin_opop@sy</td>\n <td
class=\"cell\">qwertypoiu</td>\n <td
class=\"actions\">\n
<a href=\"/users/12\">View</a></td>\n
<td
class=\"actions\">\n <a
href=\"/users/12/edit\">Edit</a>
</td>\n <td class=\"actions\">\n
\n\n
<a href=\"/users/12\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div id=\"justin_opop@sy\">
\n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"odd-row\">\n <td
class=\"cell\">gufufjgkjhkhl</td>\n <td
class=\"cell\">hgfjghk...</td>\n <td
class=\"actions\">\n
<a href=\"/users/13\">View</a></td>\n
<td
class=\"actions\">\n <a
href=\"/users/13/edit\">Edit</a>
</td>\n <td class=\"actions\">\n
\n\n
<a href=\"/users/13\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div id=\"gufufjgkjhkhl\">
\n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"even-row\">\n <td
class=\"cell\">without_java...</td>\n <td
class=\"cell\">wooootw...</td>\n <td
class=\"actions\">\n
<a href=\"/users/14\">View</a></td>\n
<td
class=\"actions\">\n <a
href=\"/users/14/edit\">Edit</a>
</td>\n <td class=\"actions\">\n
\n\n
<a href=\"/users/14\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div
id=\"without_javascript\"> \n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"odd-row\">\n <td
class=\"cell\">with_javascript</td>\n <td
class=\"cell\">YAY!!!
...</td>\n <td class=\"actions\">\n
<a
href=\"/users/15\">View</a></td>\n <td
class=\"actions\">\n
<a href=\"/users/15/edit\">Edit</a> </td>\n
<td
class=\"actions\">\n \n\n <a
href=\"/users/15\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div
id=\"with_javascript\"> \n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"even-row\">\n <td
class=\"cell\">addding</td>\n
<td class=\"cell\">refresh?</td>\n <td
class=\"actions\">\n
<a href=\"/users/16\">View</a></td>\n
<td
class=\"actions\">\n <a
href=\"/users/16/edit\">Edit</a>
</td>\n <td class=\"actions\">\n
\n\n
<a href=\"/users/16\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div id=\"addding\"> \n
<tr
class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"odd-row\">\n <td
class=\"cell\">add_user</td>\n
<td class=\"cell\">yay no ...</td>\n <td
class=\"actions\">\n
<a href=\"/users/17\">View</a></td>\n
<td
class=\"actions\">\n <a
href=\"/users/17/edit\">Edit</a>
</td>\n <td class=\"actions\">\n
\n\n
<a href=\"/users/17\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div id=\"add_user\"> \n
<tr
class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"even-row\">\n <td
class=\"cell\">ok_testing_</td>\n
<td class=\"cell\">no_refr...</td>\n <td
class=\"actions\">\n
<a href=\"/users/18\">View</a></td>\n
<td
class=\"actions\">\n <a
href=\"/users/18/edit\">Edit</a>
</td>\n <td class=\"actions\">\n
\n\n
<a href=\"/users/18\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div id=\"ok_testing_\"> \n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"odd-row\">\n <td
class=\"cell\">jhhhoijhoiho</td>\n
<td class=\"cell\">lkjlsda...</td>\n <td
class=\"actions\">\n
<a href=\"/users/19\">View</a></td>\n
<td
class=\"actions\">\n <a
href=\"/users/19/edit\">Edit</a>
</td>\n <td class=\"actions\">\n
\n\n
<a href=\"/users/19\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div id=\"jhhhoijhoiho\">
\n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"even-row\">\n <td
class=\"cell\">sdfsadfsadf</td>\n
<td class=\"cell\">sadfdfsdf</td>\n <td
class=\"actions\">\n
<a href=\"/users/21\">View</a></td>\n
<td
class=\"actions\">\n <a
href=\"/users/21/edit\">Edit</a>
</td>\n <td class=\"actions\">\n
\n\n
<a href=\"/users/21\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div id=\"sdfsadfsadf\"> \n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"odd-row\">\n <td
class=\"cell\">new user</td>\n
<td class=\"cell\">to be d...</td>\n <td
class=\"actions\">\n
<a href=\"/users/22\">View</a></td>\n
<td
class=\"actions\">\n <a
href=\"/users/22/edit\">Edit</a>
</td>\n <td class=\"actions\">\n
\n\n
<a href=\"/users/22\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div id=\"new user\"> \n
<tr
class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"even-row\">\n <td
class=\"cell\">123123123</td>\n
<td class=\"cell\">123123123</td>\n <td
class=\"actions\">\n
<a href=\"/users/24\">View</a></td>\n
<td
class=\"actions\">\n <a
href=\"/users/24/edit\">Edit</a>
</td>\n <td class=\"actions\">\n
\n\n
<a href=\"/users/24\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div id=\"123123123\"> \n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"odd-row\">\n <td
class=\"cell\">add_new_user</td>\n
<td class=\"cell\">12345678</td>\n <td
class=\"actions\">\n
<a href=\"/users/33\">View</a></td>\n
<td
class=\"actions\">\n <a
href=\"/users/33/edit\">Edit</a>
</td>\n <td class=\"actions\">\n
\n\n
<a href=\"/users/33\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div id=\"add_new_user\">
\n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"even-row\">\n <td
class=\"cell\">12312l3jh231</td>\n <td
class=\"cell\">hesfjddsf</td>\n <td
class=\"actions\">\n
<a href=\"/users/39\">View</a></td>\n
<td
class=\"actions\">\n <a
href=\"/users/39/edit\">Edit</a>
</td>\n <td class=\"actions\">\n
\n\n
<a href=\"/users/39\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div id=\"12312l3jh231\">
\n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n\n
<tr class=\"odd-row\">\n <td
class=\"cell\">sdhfdshfkjdsh</td>\n <td
class=\"cell\">jhj2435...</td>\n <td
class=\"actions\">\n
<a href=\"/users/40\">View</a></td>\n
<td
class=\"actions\">\n <a
href=\"/users/40/edit\">Edit</a>
</td>\n <td class=\"actions\">\n
\n\n
<a href=\"/users/40\" onclick=\"if (confirm(''Are you
sure?'')) { var f =
document.createElement(''form''); f.style.display =
''none'';
this.parentNode.appendChild(f); f.method = ''POST''; f.action =
this.href;var m = document.createElement(''input'');
m.setAttribute(''type'', ''hidden'');
m.setAttribute(''name'', ''_method'');
m.setAttribute(''value'', ''delete'');
f.appendChild(m);var s =
document.createElement(''input'');
s.setAttribute(''type'', ''hidden'');
s.setAttribute(''name'',
''authenticity_token'');
s.setAttribute(''value'',
''b29aca58c0948e0c63e043aa0293847a1f88b4dc'');
f.appendChild(s);f.submit(); };return
false;\">Remove</a></td>\n
\n </tr>\n\n <div id=\"sdhfdshfkjdsh\">
\n
<tr class=\"row-details\" style=\"display: none;\">\n
<td>sdf</td>\n </tr>\n </div>
\n\n\n</div>");
} catch (e) { alert(''
Something wrong with my form??
<% form_for :user, @user, :url => { :action => "create" }
do |f| %>
<div id="add_user_form">
<table class="table">
<tr>
<td class="text"><font
class="actions-add">Email:</font></td>
<td><%= f.text_field :email %></td>
</tr>
<tr>
<td class="text"><font
class="actions-add">Password:</font></td>
<td><%= f.text_field :password %></td>
</tr>
<tr>
<td></td>
<td align="right">
<% form_remote_tag :url => { :action => :create } do %>
<%= submit_tag "Add user" %>
<% end %>
</td>
</tr>
</table>
</div>
<% end %>
Thanks!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---