RSS Test 1

$(document).ready(function () { setRSSFeed(); $('#sort').change(function() { setRSSFeed() }); $('#direction').change(function() { setRSSFeed() }); function setRSSFeed() { var a = $('#sort option:selected').val(); var b = $('#direction option:selected').val(); var c = (b == 'asc') ? true : false; $('#test').rssfeed('http://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0000879796&type=&dateb=&owner=exclude&start=0&count=40&output=atom', { sort: a, sortasc: c }); } });