I have some problems in jquery
I have a problem which is how I can get out some numbers of links
I just want from the table
id=1293399
id=609876
id=6789234
id=3421
Of the following links
href="/inedx.php?form=11732&id=1293399&min=info_custom
href="/inedx.php?form=11732&id=609876&min=info_custom
href="/inedx.php?form=11732&id=6789234&min=info_custom
href="/inedx.php?form=11732&id=3421&min=info_custom
Experimented with this, But I could not get them properly
<script>
$(function(){
$("#ABC tr").each(function(){
var A = $(this).find('td:nth-child(1)').find('a').attr("href");
var B = $(A).match(/[\d]+/d);
alert(B);
});
});
</script>
<body>
<table id='ABC' border='2'>
<tr>
<td><a href='href="/inedx.php?form=11732&id=1293399&min=info_custom'>AAAy</a></td>
<td>BBB</td>
<td>CCC</td>
</tr>
<tr>
<td><a href='href="/inedx.php?form=11732&id=609876&min=info_custom'>AAAy</a></td>
<td>BBB</td>
<td>CCC</td>
</tr>
<tr>
<td><a href='href="/inedx.php?form=11732&id=6789234&min=info_custom'>AAAy</a></td>
<td>BBB</td>
<td>CCC</td>
</tr>
<tr>
<td><a href='href="/inedx.php?form=11732&id=3421&min=info_custom'>AAAy</a></td>
<td>BBB</td>
<td>CCC</td>
</tr>
</table>
</body>
How do I get this only
id=1293399
id=609876
id=6789234
id=3421