Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

load data from json server into html using jquery

<html>
 <head>
<script type="text/javascript" language="javascript" src="jquery-1.8.2.min.js"></script>        

<script type="text/javascript">
    $(document).ready(function(e) {
    $.getJSON( "priorities.json" , function( result ){
        alert(result.start.count);
    });
});
</script></head>
</html>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #load #data #json #server #html #jquery
ADD COMMENT
Topic
Name
5+1 =