Options

Here's a Javascript Example

studiosellsstudiosells Registered Users Posts: 15 Big grins
Save http://marty.feebleandfrail.org/smug/javascript/index.html to a local HTML file and open it. It will ask for a URL which you'll have to craft up based on a valid sessionID and NickName. The default in there should work for a while and show you what sort of request you need. <b>If you try to run it directly from the web it will fail. I think this has to do with browser security not wanting JS code to make http requests to foreign sites (i.e. ones other than where the JS came from).</b>

The example is far from pretty - I've noticed wierdness with lack of scrollbars on the document window - but it shows how to use the REST API from Javascript, and the grid widget supports sorting and other nice stuff.

Someone that's a Javascript wizard could probably wip up a nice little Excel like browser using this.

-m
Sign In or Register to comment.