It’s not quite a detailed tutorial but I hope any budding ioBridge cardiologists will find my latest foray into web2.0 useful.
Unfortunately, pasting HTML into a blog post usually isn’t successful but I believe my source and previous writeup should be simple enough for others to follow. The trick is to include your widget script in your page and wrap it with a “div” using a specific, ID. In my case I used “#content” and was then able to use jQuery to mark this as hidden, CSS “display: hidden” would also work equally well.
I could then use jQuery to parse on this div ID (rather then having to find out the ioBridge widget number), which isn’t hard either and convert the html content to a floating point value. It’s a straightforward query though you may have to play with the “split()” function depending on your layout and sensor.
If you’ve got any questions feel free to email me, jay, at thecapacity.org or find me via http://wjhuie.com