summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls
diff options
context:
space:
mode:
authorDaniel <darthdaniel85@gmail.com>2013-11-22 15:35:07 -0500
committerDaniel <darthdaniel85@gmail.com>2013-11-22 15:35:07 -0500
commitefde949d00b808f55710abbd3d82ceb490545116 (patch)
tree25dd2d54b1432bb3317e6f3cbdc326bf5f48a355 /demos/quickstart/protected/pages/Controls
parentab6effd64caefa732ef0994d6c3048f5cd474bf6 (diff)
parent0dfd57339fe3c92103767b556c9b20002323df56 (diff)
Merge branch 'jquery' of https://github.com/pradosoft/prado into jquery
Diffstat (limited to 'demos/quickstart/protected/pages/Controls')
-rwxr-xr-xdemos/quickstart/protected/pages/Controls/Samples/TSlider/Home.page8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TSlider/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TSlider/Home.page
index bfbbe8e3..6c79fae4 100755
--- a/demos/quickstart/protected/pages/Controls/Samples/TSlider/Home.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TSlider/Home.page
@@ -16,7 +16,7 @@ Horizontal slider from -50 to 50, Javascript 'onSlide' handler, ServerSide 'onS
</td><td class="sampleaction">
<com:TSlider id="slider2" AutoPostBack="true" Direction="Horizontal" Value="0" Enabled="true" MinValue="-50" MaxValue="50" OnValueChanged="slider2Changed">
<prop:ClientSide.onSlide>
- $('slider2value').innerHTML = value;
+ $('#slider2value').get(0).innerHTML = value;
</prop:ClientSide.onSlide>
</com:TSlider>
Value : <span id="slider2value"><%=$this->slider2->value%></span>
@@ -28,14 +28,14 @@ Vertical slider from 0 to 1, Javascript 'onSlide' handler, ServerSide 'onSliderC
</td><td class="sampleaction">
<com:TSlider id="slider3" AutoPostBack="false" Direction="Vertical" Enabled="true" MinValue="0" MaxValue="1" StepSize="0.1" OnValueChanged="slider3Changed">
<prop:ClientSide.onSlide>
- $('slider3value').innerHTML = value;
+ $('#slider3value').get(0).innerHTML = value;
</prop:ClientSide.onSlide>
</com:TSlider>
Value : <span id="slider3value"><%=$this->slider3->value%></span>
</td><td class="sampleaction">
<com:TButton Text="Submit"/>
<com:TLabel id="slider3Result"/>
-</td></tr>
-</table>
+</td></tr>
+</table>
</com:TContent> \ No newline at end of file