Just display temp in browser

To avoid looking like a total idiot. All my projects (not imp) that involved getting data from my device to the browser I used either flex, or silverlight. I would create a listening port on my device so when the web page gets served it makes a connection back to the board and they can talk to one another and exchange data instantly. In all my years of doing this I never had to touch HTML code. So my knowledge of html is very limited. Normally I would take the time to lean what I need and not bother anyone, but as I have said before I have this big company meeting coming up in 2 weeks and I want to use the IMP to demo a few things to them.

For my demo for work I am almost done, The only thing left to do is show my IR temp senor data, on the web page.
Is there a clean example out there that shows how to do this, as I have been unable to find one.
Preferably one that may update on its own every 5 seconds.

Thank you

You could use javascript .always(function() { setTimeout(grabStatusData, 5000); }) method within a script in your html code. This would poll / update every 5 seconds.

Try this post for some insight:


Sweet mama! That is exactly what I wanted!
Again, thank you so much.

Just to note a ; sneaked in somehow at end of this script reference…

<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js'></script>;