Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Highcharts Tutorial</title>
- <script src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js">
- </script>
- <script src = "https://code.highcharts.com/highcharts.js"></script>
- <script src = "https://code.highcharts.com/highcharts-3d.js"></script>
- </head>
- <body>
- <div id = "container" style = "width: 550px; height: 400px; float: left">
- <script language = "JavaScript">
- $(document).ready(function() {
- alert("hi....");
- alert("hello");
- Alfresco.util.Ajax.jsonGet({
- url: "http://10.0.0.175:8080/alfresco/service/powergrid/RTNfiles/count",
- successCallback: {
- fn: function(res){
- alert("success");
- alert(res.responseText);
- },
- scope: this
- },
- failureCallback: {
- fn: function(response)
- {
- // Display error message and reload
- Alfresco.util.PopupManager.displayPrompt(
- {
- title: Alfresco.util.message("message.failure", this.name),
- text: "search failed"
- });
- },
- scope: this
- }
- });
- });
- </script>
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment