Difference between revisions of "User:Randy:Groupparts Test"

Line 4: Line 4:
 
<div id='htdiv' style='min-height:100px; min-width:500px;border:1px solid green'><div style='padding:20px;color:gray'>Loading.....</div></div>
 
<div id='htdiv' style='min-height:100px; min-width:500px;border:1px solid green'><div style='padding:20px;color:gray'>Loading.....</div></div>
 
<script>
 
<script>
//$('#htdiv').load('https://parts.igem.org/cgi/xml/test.cgi?t=iGEM2009&g=Lethbridge');
+
$('#htdiv').load('https://parts.igem.org/cgi/xml/test.cgi?t=iGEM2009&g=Lethbridge',
 +
      function() { $('#myTable').trigger('update') } );
 +
 
 
//$('#htdiv').load('https://parts.igem.org/cgi/xml/groupparts.cgi?t=iGEM2009&g=Lethbridge');
 
//$('#htdiv').load('https://parts.igem.org/cgi/xml/groupparts.cgi?t=iGEM2009&g=Lethbridge');
 
$(document).ready( function() {
 
$(document).ready( function() {
Line 11: Line 13:
 
);
 
);
 
</script>
 
</script>
 
 
 
<table id="myTable">
 
<thead>
 
<tr>
 
    <th>Last Name</th>
 
    <th>First Name</th>
 
    <th>Email</th>
 
    <th>Due</th>
 
    <th>Web Site</th>
 
</tr>
 
</thead>
 
<tbody>
 
<tr>
 
    <td>Smith</td>
 
    <td>John</td>
 
    <td>jsmith@gmail.com</td>
 
    <td>$50.00</td>
 
    <td>http://www.jsmith.com</td>
 
</tr>
 
<tr>
 
    <td>Bach</td>
 
    <td>Frank</td>
 
    <td>fbach@yahoo.com</td>
 
    <td>$50.00</td>
 
    <td>http://www.frank.com</td>
 
</tr>
 
<tr>
 
    <td>Doe</td>
 
    <td>Jason</td>
 
    <td>jdoe@hotmail.com</td>
 
    <td>$100.00</td>
 
    <td>http://www.jdoe.com</td>
 
</tr>
 
<tr>
 
    <td>Conway</td>
 
    <td>Tim</td>
 
    <td>tconway@earthlink.net</td>
 
    <td>$50.00</td>
 
    <td>http://www.timconway.com</td>
 
</tr>
 
</tbody>
 
</table>
 
 
 
 
 
 
 
 
</html>
 
</html>

Revision as of 02:25, 29 April 2010

Loading.....