Skip to content

function_ajax

Wesley de Groot edited this page Jan 2, 2016 · 11 revisions

tvOS.ajax(url, method, callback)

Load a page

Parameters

Type @var Description Required
string url the url to load Required
string [method] the method you want to use Optional
function [callback] the callback you want to use. Optional

Example

tvOS.ajax(url, method, function (data) {
  console.log(data)
})



Back to function list