Team:Freiburg/Project/toolkit
From 2013.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
############################################################################## --> | ############################################################################## --> | ||
- | <script> | + | <script language="javascript" type="text/javascript"> |
- | + | function forRentClicked(sender) | |
- | + | { | |
- | } | + | var tb1 = document.getElementById('<%= TextBox1.ClientID %>'); |
- | </script> | + | tb1.style.display = sender.checked?'inline':'none'; |
+ | } | ||
+ | </script> | ||
Line 73: | Line 75: | ||
<div id="main_contant" style="height:500px;"> | <div id="main_contant" style="height:500px;"> | ||
- | < | + | <asp:CheckBox ID="CheckBox1" runat="server" onClick="forRentClicked(this)" Checked="true" /> |
- | < | + | <asp:Label ID="Label1" runat="server" Text="Rental rate per week:"></asp:Label> |
- | + | <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> | |
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 22:05, 17 September 2013