summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/Callback.page
blob: d87447605c1f065628150f4fc4f0b08fe057ec05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<com:TForm>

	<com:TCallback ID="callback1" OnCallback="callback1_Requested" />
	 <script type="text/javascript">              
	function do_callback1()
	{               
		 var callback =  <%= $this->callback1->ActiveControl->Javascript %>;
		 callback.dispatch();
	}       
	</script>       
	<div onclick="do_callback1()">Click Me!</div>

	<com:TJavascriptLogger />

</com:TForm>