I am trying to get a variable from the php code and put it in jquery i have tryed this and it does not work can anyone help me?
< script type="text/javascript" src="js/jquery.query-2.1.6.js"></script>
<?
$next_exp = 123;
?>
$(document).ready(function() {
var next_exp = $.query.get('next_exp');
$("#pb5").progressBar({ max: next_exp, textFormat: 'fraction',barImage: 'images/progressbg_orange.gif' });
});