0

TypeError: url.fetch is not a function

I have this for my updateView method:

updateView: function() {
var url = new URL();
url.location = "http://www.example.com/test.html";
var response = url.fetch();
this.controls.AboutCSTx.setText(response);
}

I get the following error: TypeError: url.fetch is not a function.
I'm using Framework/kontx/1.3/src/all.js

by
2 Replies
  • Only asynchronous fetch is supported. You can review the Frequently Asked Questions here:


    http://developer.yahoo.com/connectedtv/faq...ml#asynchronous
    0
  • QUOTE (TVWidgetDocs @ Jun 30 2011, 06:18 PM) <{POST_SNAPBACK}>
    Only asynchronous fetch is supported. You can review the Frequently Asked Questions here:


    I tried an async call as well, and the result is "Could not load URL". Might be a problem with my SDK, because it wasn't even updating my widgets, it told me it cannot connect to the internet, i had to comment out some lines in the Konfabulator file to get around it.
    0

Recent Posts

in General - Yahoo! TV Widgets