ClientScript Test
>
if(typeof(ClientScriptInfo) == "undefined")
ClientScriptInfo = [];
ClientScriptInfo.push("ok 3?")
if(typeof(ClientScriptInfo) == "undefined")
ClientScriptInfo = [];
ClientScriptInfo.push("ok 2!")
Event.observe("button1", "click", function()
{
element = $("<%= $this->label1->ClientID %>");
if(element)
element.innerHTML = "Label 1: "+inspect(ClientScriptInfo);
else
alert("failed");
});