我有以下jquery,但我现在需要从另一个URL获取数据
var RequiredStarters = 7; // ENTER THE NUMBER OF STARTERS YOUR LEAGUE REQUIRES
$(document).ready(function () {
$("td.two_column_layout .report").each(function(index, element){
if($(this).find("tr").length !== +RequiredStarters + 3 && $(this).attr("id") !== "InvalidLineup"){
var target = $("#InvalidLineup").find("tbody");
$(this).find("a").each(function(){
target.append("<tr><td>" + $(this)[0].outerHTML + "</td></tr>");
});
}
});
});
<table class="homepagemodule report" id="InvalidLineup" align="center" cellspacing="1">
<caption><span>Submit Valid Lineups</span></caption>
<tbody>
</tbody>
</table>
我将把get函数示例放在哪里
$.get('http://%HOST%/%YEAR%/options?L=%LEAGUEID%&O=06', function (data)