AW Ajax in Action
<ajax-response> <response id="alert_ip" type="script"> alert("Your Ip is xx.xx.xx.xx"); </response> <response id="myip" type="element"> <font color="red">xx.xx.xx.xx</font> </response> <response id="current" type="script"> alert("Current time is " + new Date()); </response> </ajax-response>
Only problem is that, as of now it works only in I.E. Firefox on XP (sp2) throws following exception
Error: uncaught exception: [Exception... "Object cannot be created in
this context" code: "9" nsresult: "0x80530009
(NS_ERROR_DOM_NOT_SUPPORTED_ERR)" location: "<unknown>"]
Once it becomes stable, I'll add better demo and documentation. You no longer need to look somewhere else for your Ajax need. With Ajax these widgets will get much much powerful. Isn't it?