javascript - Morris line chart with php query data -
i'm developping curve through database data works great bu i'm having problem refreshing data dynamically, each time new value inserted in table want load automatically without refreshing page. here index.php file : <!doctype html > <html lang="en" > <head> <title> line chart </title> <meta charset="utf-8" > <link href="css/style.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" href="/css/timeout.css" /> <link href="http://cdn.oesmith.co.uk/morris-0.4.1.min.css" rel="stylesheet" /> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script> <script src="http://cdn.oesmith.co.uk/morris-0.4.1.min.js...