summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/Callback.page
blob: 3404cf6e72811b38aeb9099a2ca3bbed720cfc84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<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:TForm>