I am somewhat new to jQuery but have been having fun trying learn about all the cool tricks it can do. One of the current things I am trying to use is the load function to get a weather report from one the sites we use for daily reporting. The code I am using is
$(document).ready(function() {
$("#table").load("weather_url table");
});
This works just like I expected and returns all tables. The problem I am having is that none of the tables have an ID tag, so I get all the tables in the page. I need to get only one table that has the weather information in it. I am not sure how to target the one I need. Is this even possible without IDs? I have also tried using
$('table:last-child').show();
But it still shows all the tables.
Thanks for the help with this!