2011-06-01 23:50:36 +00:00
|
|
|
|
var searchUrl = '../Episode/Search';
|
|
|
|
|
|
|
|
|
|
function searchForEpisode(id) {
|
|
|
|
|
$.ajax({
|
|
|
|
|
type: "POST",
|
|
|
|
|
url: searchUrl,
|
|
|
|
|
data: jQuery.param({ episodeId: id }),
|
|
|
|
|
error: function (req, status, error) {
|
|
|
|
|
alert("Sorry! We could search for " + id + " at this time. " + error);
|
|
|
|
|
}
|
|
|
|
|
});
|
2011-08-22 00:48:37 +00:00
|
|
|
|
}
|