Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 21st, 2013  |  syntax: None  |  size: 0.67 KB  |  views: 458  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. http://localhost:1947/GreenViewService.svc/?callback
  2.        
  3. function GetDataPoints() {
  4.             alert('S');
  5.             var action = 'http://localhost:1984/GreenViewService.svc/?callback=';
  6.             alert(action);
  7.             $.ajax({
  8.                 "type": "GET",
  9.                 "url": action,
  10.                 "cache": false,
  11.                 "contentType": "application/json; charset=utf-8",
  12.                 dataType: "text",
  13.                 "success": function(result) {
  14.                 alert(eval(result));
  15.                     var json = eval(result);
  16.                     //fillDropDown(json, prefix + 'DataPoint', 'NodeLabel', 'ID');
  17.                 }
  18.             });
  19.         }
clone this paste RAW Paste Data