在asp.net和jquery,javascript中使用复选框和单选按钮? [英] check box and radio button use in asp.net and jquery , javascript ?

查看:57
本文介绍了在asp.net和jquery,javascript中使用复选框和单选按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,



在一个网页中包含三个复选框:1。笔记本电脑2.手机3.电动自行车



这里一次点击笔记本电脑复选框自动显示笔记本电脑价格下的复选框价格复选框

和第二次点击也降下手机价格清单和第三个也



这是我想要的回复我的任何例子请

Dear All,

In a web page contain three check boxes: 1. laptops 2. mobiles 3.motorbikes

here once click laptop checkbox automatically display radiobutton of laptops prices under checkbox
and 2nd one click also come down mobiles prices lists and 3rd one also

this is i want please reply me any examples please

推荐答案

Thanx提供更多信息。这是您的构建示例。



看到你可以得到一个想法为你结束。



http://jsfiddle.net/jXrxW/111/ [ ^ ]
Thanx for giving more information. Here is build example for you.

See you can get an idea for your end.

http://jsfiddle.net/jXrxW/111/[^]


<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery Show Hide Using Checkboxes</title>
<style type="text/css">
    .box{
        padding: 20px;
        display: none;
        margin-top: 20px;
        border: 1px solid #000;
    }
    .red{ background: F5F5DC	; }
    .green{ background: F5F5DC	; }
    .blue{ background: F5F5DC	; }
</style>
<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
<script type="text/javascript">


document )。ready( function (){
(document).ready(function(){


这篇关于在asp.net和jquery,javascript中使用复选框和单选按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆