From 54be23665cee89af63793bafdb6cb7cc80c31a4b Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sun, 3 Nov 2013 19:57:22 +0100 Subject: Ported TCallback + demo --- .../protected/pages/ActiveControls/Samples/TCallback/Home.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TCallback') diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.page index 04781438..6be81e96 100755 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.page @@ -39,7 +39,7 @@ The third parameter is taken from the textbox; { var request = <%= $this->callback2->ActiveControl->Javascript %>; var param2 = 'value 2'; - var param3 = $('<%= $this->txt1->ClientID %>').value; + var param3 = $('#<%= $this->txt1->ClientID %>').val(); request.setCallbackParameter({'Param1':param1, 'Param2':param2, 'Param3':param3}); request.dispatch(); } -- cgit v1.2.3