|
|
|
Aktionen:
Versionen anzeigen
nbc-RemoteScripting
NBC-RemoteScriptingClientseitiges JavaScript Framework für den Browser unabhängigen Zugriff mit einer kleinen schlanken Ajax Implementierung. Folgende der (üblichen) Befehle sind implementiert: NBCRemoteScripting(url, onload) /**
* Init a XML-HTTP-Request * for the given URL * and a callback to the given onload function * if request is ready. * * @param url:String * is the URL the request is calling. * @param onload:function * is the function object called if request is ready. * @return * a XML-HTTP-Request object */ NBCRemoteScripting.prototype.init = function(url, onload) NBCRemoteScripting.get(url, onload) /**
* A http request with "GET" protokoll. * * @param url:String * is the URL the request is calling. * @param onload:function * is the function object called if request is ready. */ NBCRemoteScripting.prototype.get = function(url, onload) NBCRemoteScripting.post(url, post, onload) /**
* A http request with "POST" protokoll. * * @param url:String * is the URL the request is calling. * @param onload:function * is the function object called if request is ready. * @param post:String * is the content posted to the given URL (mostly a XML-Content). */ NBCRemoteScripting.prototype.post = function(url, post, onload) siehe: nbc
Version 3
bearbeitet am {20.02.2006 23:39:48}
von smk,
Besitzer ist smk
und die Berechtigungen sind eingeschränkt auf: Jeden
|
|