User:Victar/get.js

$.urlParam = function(name){ var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href); return results[1] || 0; }

$.get($.urlParam('page'), function(data) { $($.urlParam('target')).html(data); });