Quantcast
Channel: ThingSpeak IoT Community - All Forums
Viewing all articles
Browse latest Browse all 1833

turti on Read last value from ThingSpeak into my website

$
0
0

Thank you! Smile

This should work. But I don´t understand that script because I have no knowledges of this topic.

Is this the right script?

$.ajax({
  url: "http://thingspeak.com/channels/myChannelID/field/1/last.html",
  cache: false,
  dataType: 'jsonp',
  success: function(html){
    $("#results").append(html);
  }
});

How du I get my value in html?


Viewing all articles
Browse latest Browse all 1833

Trending Articles