效果展示: html: <div class="sidebar"> <ul> <li>优先级 <ul> <li><aonclick=""class="sidebar-selected">全部</a></li> <li><aonclick="">P1</a></li> <li><aonclick=""
分类:
Web程序 时间:
2016-02-25 00:17:58
阅读次数:
386
filter(),not(): <script type="text/javascript"> $(document).ready(function() { //输出 hello alert($("p").filter(".selected").html()); //输出 How are you?
分类:
Web程序 时间:
2016-02-23 18:51:08
阅读次数:
159
HTML: <ul class="list"> <li ng-repeat="item in itmes" ng-click="selectItem(item)" ng-class="{selected: item.isSelected}">{{ item.name }}</li> </ul> //
分类:
其他好文 时间:
2016-02-23 06:08:23
阅读次数:
225
/** * 在res/drawable文件夹新增一个文件,此文件设置了图片的触发状态,你可以设置 state_pressed,state_checked,state_pressed, * state_selected,state_focused,state_enabled 等几个状态: * * an
分类:
其他好文 时间:
2016-02-21 12:53:36
阅读次数:
163
这里主要讲述协调器和终端之间的绑定。 This mechanism uses a button press or other similar action at the selected devices to bind within a specific timeout period. The En
分类:
其他好文 时间:
2016-02-21 12:49:31
阅读次数:
237
//前台回显 <select name="cat_id"> <option value="">选择分类</option> <?php foreach ($catData as $k => $v): if($v['id'] == $data['cat_id']) $select = 'selected
分类:
Web程序 时间:
2016-02-15 18:22:58
阅读次数:
120
A connection processing method can be selected explicitly with the use directive. The following connection processing methods are supported: select —
分类:
其他好文 时间:
2016-02-01 18:46:49
阅读次数:
163
语法解释: 1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发 2. var checkText=$("#select_id").find("option:selected").text(); //获取
分类:
Web程序 时间:
2016-01-29 11:35:55
阅读次数:
163
【MySql Replication】 Replication is asynchronous by default. Depending on the configuration, you can replicate all databases, selected databases, or ev
分类:
数据库 时间:
2016-01-28 18:58:24
阅读次数:
194
登陆dede后台这样提示Error page: /dede/login.php Error infos: No database selected Error sql: Select admin.*,atype.purviews From `dede_admin` admin left join `...
分类:
数据库 时间:
2016-01-23 22:53:24
阅读次数:
261