Author: andrei_exadel
Date: 2008-01-14 10:41:17 -0500 (Mon, 14 Jan 2008)
New Revision: 5353
Modified:
trunk/sandbox/samples/progressBarDemo/src/main/webapp/pages/index.jsp
Log:
fix demo
Modified: trunk/sandbox/samples/progressBarDemo/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox/samples/progressBarDemo/src/main/webapp/pages/index.jsp 2008-01-14
15:07:53 UTC (rev 5352)
+++ trunk/sandbox/samples/progressBarDemo/src/main/webapp/pages/index.jsp 2008-01-14
15:41:17 UTC (rev 5353)
@@ -53,9 +53,9 @@
<script>
var pr = new ProgressBar('j_id_jsp_2009877409_1:progrs');
</script>
- <input type="button" value="crack"
onclick="alert(pr.getPercent());" /><br/>
+ <input type="button" value="Get Progress"
onclick="alert(pr.getProgress());" /><br/><br/>
<input type="text" value="" id="percent"/>
- <input type="button" value="set"
onclick="pr.setPercent(document.getElementById('percent').value);"
/>
+ <input type="button" value="Set Progress"
onclick="pr.enable();
pr.setProgress(document.getElementById('percent').value);" />
</f:view>
</body>
</html>
Show replies by date