Team:Freiburg/Project/toolkit
From 2013.igem.org
(Difference between revisions)
Line 11: | Line 11: | ||
<script language="javascript" type="text/javascript"> | <script language="javascript" type="text/javascript"> | ||
- | + | function forRentClicked() { | |
- | + | ||
- | + | ||
- | + | if (document.getElementById('<%=CheckBox1.ClientID%>').checked == true) { | |
- | + | ||
- | + | ||
+ | div1.style.display = 'block'; | ||
+ | |||
+ | |||
+ | } | ||
+ | else { | ||
+ | div1.style.display = 'none'; | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
Line 74: | Line 83: | ||
<div id="main_contant" style="height:500px;"> | <div id="main_contant" style="height:500px;"> | ||
+ | <div> | ||
+ | <asp:CheckBox ID="CheckBox1" runat="server" onClick="forRentClicked()" /> | ||
+ | </div> | ||
+ | <div id="div1"> | ||
+ | <asp:Label ID="Label1" runat="server" Text="Rental rate per week:"></asp:Label> | ||
+ | <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> | ||
+ | </div> | ||
- | < | + | </div> |
- | + | ||
- | + | ||
- | + | ||
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 22:06, 17 September 2013