{"size": 1173, "ext": "js", "max_stars_repo_path": "public/scripts/script.js", "max_stars_repo_name": "3WA-Strasbourg-S10/correct_recherche", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/scripts/script.js", "max_issues_repo_name": "3WA-Strasbourg-S10/correct_recherche", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/scripts/script.js", "max_forks_repo_name": "3WA-Strasbourg-S10/correct_recherche", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 58.65, "max_line_length": 156, "alphanum_fraction": 0.6717817562}
$(document).ready(function()
{
	$('.form-control').keyup(function()
	{
		var name = encodeURIComponent($('#name').val());
		var isbn = encodeURIComponent($('#isbn').val());
		var price_min = encodeURIComponent($('#price_min').val());
		var price_max = encodeURIComponent($('#price_max').val());
		var year_min = encodeURIComponent($('#year_min').val());
		var year_max = encodeURIComponent($('#year_max').val());
		var gender = encodeURIComponent($('#gender').val());
		var author = encodeURIComponent($('#author').val());
		var country = encodeURIComponent($('#country').val());
		var editorial = encodeURIComponent($('#editorial').val());
		$('#resultats').load("index.php?page=search_elem&ajax&name="+name+"&isbn="+isbn+"&price_min="+price_min+"&price_max="+price_max+"&year_min="+year_min+
			"&year_max="+year_max+"&gender="+gender+"&author="+author+"&country="+country+"&editorial="+editorial);
		history.pushState({}, "Recherche", "index.php?page=search&name="+name+"&isbn="+isbn+"&price_min="+price_min+"&price_max="+price_max+"&year_min="+year_min+
			"&year_max="+year_max+"&gender="+gender+"&author="+author+"&country="+country+"&editorial="+editorial);
	});
});