惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threat Research - Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
V
Vulnerabilities – Threatpost
GbyAI
GbyAI
P
Proofpoint News Feed
L
LINUX DO - 热门话题
P
Palo Alto Networks Blog
A
About on SuperTechFans
T
Tenable Blog
M
MIT News - Artificial intelligence
IT之家
IT之家
I
Intezer
D
DataBreaches.Net
爱范儿
爱范儿
T
Threatpost
C
CERT Recently Published Vulnerability Notes
云风的 BLOG
云风的 BLOG
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
K
Kaspersky official blog
大猫的无限游戏
大猫的无限游戏
A
Arctic Wolf
Y
Y Combinator Blog
Cyberwarzone
Cyberwarzone
酷 壳 – CoolShell
酷 壳 – CoolShell
D
Darknet – Hacking Tools, Hacker News & Cyber Security
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
Spread Privacy
Spread Privacy
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
AWS News Blog
AWS News Blog
博客园 - 聂微东
C
Check Point Blog
S
Securelist
有赞技术团队
有赞技术团队
雷峰网
雷峰网
aimingoo的专栏
aimingoo的专栏
Last Week in AI
Last Week in AI
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
D
Docker
G
GRAHAM CLULEY
T
The Exploit Database - CXSecurity.com
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tailwind CSS Blog
L
Lohrmann on Cybersecurity
G
Google Developers Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LangChain Blog

博客园 - 页面载入出错

Grails指南摘要-403-生命周期 Grails指南摘要-402-logging Grails指南摘要-401-Controller中设置默认Action Grails指南摘要-307-测试领域类 Grails指南摘要-306-嵌入式对象 Grails指南摘要-305-扩展和继承 Grails指南摘要-304-对象关系 Grails指南摘要-303-自定义对象映射 Grails指南摘要-302-瞬时属性 Grails指南摘要-301-属性验证 20130518-Grails In Action-5、控制应用程序流(04小节) 20130518-Grails In Action-5、控制应用程序流(03小节) 20130517-Grails In Action-5、控制应用程序流(02小节) 20130517-Grails In Action-5、控制应用程序流(01小节) 20130517-Grails In Action-4、让模型工作(06小节) 20130516-Grails In Action-4、让模型工作(05小节) 20130516-Grails In Action-4、让模型工作(04小节) 20130516-Grails In Action-4、让模型工作(03小节) 20130516-Grails In Action-4、让模型工作(02小节)
20130527-jQuery in actin-看代码说事-ch01
页面载入出错 · 2013-05-27 · via 博客园 - 页面载入出错

chapter01

listing-1.1

 1 <!DOCTYPE html>
 2 <html>
 3   <head>
 4     <title>Follow me!</title>
 5     <link rel="stylesheet" type="text/css" href="../styles/core.css"/>
 6     <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
 7     <script type="text/javascript">
 8       $(function() {
 9         $("<p>Hi there!</p>").insertBefore("#followMe");
10       });
11     </script>
12   </head>
13 
14   <body>
15     <p id="followMe">Follow me!</p>
16   </body>
17 </html>
  • $("<p>Hi there!</p>").insertBefore("#followMe");在<p id="followMe">之前插入一段文字
  • $("<p>Hi there!</p>").insertAfter("#followMe");在<p id="followMe">之后插入一段文字

radio.group.html

 1 <!DOCTYPE html>
 2 <html>
 3   <head>
 4     <title>Radio Group Example</title>
 5     <link rel="stylesheet" type="text/css" href="../styles/core.css"/>
 6     <style type="text/css">
 7       #result tt {
 8         color: maroon;
 9         font-size: 1.1em;
10       }
11       form>div {
12         margin-top: 0.9em;
13       }
14     </style>
15     <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
16     <script type="text/javascript">
17       $(function(){
18         $('#testButton').click(function(){
19           var checkedValue = $('[name="someRadioGroup"]:radio:checked').val();
20           $('#result').html('The radio element with value <tt>' + checkedValue + '</tt> is checked.');
21         });
22       });
23     </script>
24   </head>
25   <body>
26 
27     <form>
28       <div>
29         <label for="radioYes">What is your answer?</label>
30         <input type="radio" name="someRadioGroup" id="radioYes" value="yes" checked="checked"/> Yes
31         <input type="radio" name="someRadioGroup" id="radioNo" value="no"/> No
32         <input type="radio" name="someRadioGroup" id="radioMaybe" value="maybe"/> Maybe
33         <input type="radio" name="someRadioGroup" id="radioConfused" value="confused"/> I dunno
34       </div>
35       <div><button type="button" id="testButton"class="green90x24">Which?</button></div>
36       <div id="result"></div>
37     </form>
38 
39   </body>
40 </html>
  • var checkedValue = $('[name="someRadioGroup"]:radio:checked').val();获取单选变量的值,要点-radio:checked,获取到值
  • $('#result').html('The radio element with value <tt>' + checkedValue + '</tt> is checked.');在<div id="result">插入文字