Easy way to pass ZC data to iframed html/javascript apps or widgets

Easy way to pass ZC data to iframed html/javascript apps or widgets

DISCLAIMER: I just post what I find interesting.

This was an exciting find for me that I used on my last large project.....

I often daydream about what I could build in a ZC html view if I could run jquery and javascript! Wow, how fun would that be! I could lazy .load() html snippets from other views, save info dynamically. Wow! It would be great. Anyways, IT'S A DREAM for now. 

But, I have been able to find a way to float a javascript/html app on top of a Zoho Creator view with some fun results! I'm not just talking about an iframed page. I'm talking about having them communicate.. 

The Gist:

I pass JSON strings (just a map.toString() :) to my iframed webapp (not zoho creator) and then parse the JSON string into a javascript object.

I dont' know if it doesn't sound exciting to you I'm sorry. All I know is that it let's you do some pretty cool stuff with systems you normally can't use in Zoho Creator, WHILE allowing you to use your existing Zoho Creator data WITHOUT using the API. 

Here's an example of how I used it...