Rev 26738 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
$(function() {$(".web-listing").live('click', function() {loadWebListing("main-content");});});function loadWebListing(domId) {doAjaxRequestHandler(context + "/web-listing", "GET", function(response) {$('#' + domId).html(response);});}function addWebLisiting() {webListingTitle = $("#web-listing-title");webListingUrl = $("#web-listing-url");json = {title:webListingTitle, url : webListingUrl};doPostAjaxRequestWithJsonHandler(context + "/web-listing/add", json, function(response) {$('#' + domId).html(response);});return false;}