passbe/beef-migration-test-3 — Issue #226: Add beefjs API Function: Request Confirm
Author: passbe
Created: 2011-12-08 23:50:34+00:00
State: open

Add a function that confirms a url can be loaded in an iframe. This function will be used for loading cross domain urls. The return value will be true if the url loaded and false if it didn't.

/**
* @params: {String} url: target url which is loaded in the iframe.
* @params: {String} method: whether to use a GET or POST HTTP method.
* @params: {Hash} params: list of params that will be sent in request.
*/

request_confirm(url, method=post, params=hash)

Google Code Issue: http://code.google.com/p/beef/issues/detail?id=151