can I pass variable (variable named test in this case) to jQuery .load function?
$(document).ready(function() {
$('a').click(function(e) {
e.preventDefault();
var test= $(this).attr('href');
$('.window').load($(test));
});
This doesn't work.