Skip to main content

Posts

Showing posts with the label closest

jquery match element based on id

I'm a noob to jquery. Stuck and would appreciate some help. Currently building a tool to grab data from a particular page. The page looks like this: <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1"> <tbody> //This is data group 1 <tr id="parent0"> //Record 1 <td align="left"> <---------- text1 here -------> </td> <td align="left"> <---------- text2 here -------> </td> <td align="left"> <---------- text3 here -------> </td> </tr> <tr id="parent0"> //Record 2 <td align="left"> <---------- text1 here -------> </td> <td align="left"> <---------- text2 here -------> </td> <td align="left"> <---------- text3 here -------> </td> </tr> </tb