Error Msg: Looping through Array in jQuery
blue shaded parts are okay in APTANA, but causes a white page open with the above error of Looping array in jquery
----------------
<?php
require_once("startsessionbycookie.php"); //start_session();
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link href="css/footer_last.css" rel="stylesheet" type="text/css" />
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script type="text/javascript">
$(document).ready(function () {
alert('no problem');
var jsvar = <?php if(isset( $_GET['jvar'])){ $king=$_GET['jvar']; }else{ $king ='nodata1';} echo json_encode($king); ?>
function public_notice_init(){
$("#public_notice1").animate({height: "0px"});
$("#onemonth, #monthly, #discount").css('display','none');
}
alert('2nd');
});
</script>
</head>
<body>
Hello!
Hello!
</body>
</html>