jQuery 是一个非常强大的JS类库,现在越用觉得越好用了。 使用jquery如何操作select(下拉框)呢?主要讲下怎么动态添加option 动态选择option,假如我们的select 控件的 id 属性为 sel
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Sigenics</title> <meta name="generator" content="WordPress 3.1.3" /> <meta name="robots" content="follow, all" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript"> //<![CDATA[ $(function (){ var x = 10; var y = 20; $(".chart a").mouseover(function(e){ this.myTitle = this.title; this.title = ""; [...]
When updating the Debian based system, it may happens that the apt-get displays an error message like: W: GPG error: ftp://ftp.debian.org/ testing Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 010908312D230C5F W: There is no public key available for the following key IDs: 010908312D230C5F This is a new [...]
// 更多报头 $headers .= "From: 姚迎迎 <admin@yaoyingying.com>". "\r\n" ."CC: yao3060@gmail.com, yao3060@hotmail.com"; 突然发现 php mail 函数 抄送的时候, header 里用 单引号 (‘) 竟然会有错误,一定要用双引号。。。。。。 NND 这一直是一个误解,其实 \r\n 必须使用双引号(”")
开始,第一个元素默认被选择,鼠标经过改变被选择的元素,当鼠标离开,又恢复第一个被选择。 <html><html> <head> <title></title> <style> * { padding:0; margin:0;} div { background:#eee; padding:20px; width:500px; } a {padding:5px; border:#ccc solid 1px;} .active{color:#F00; padding:5px; border:#F00 solid 1px;} p{background:#CCC; border:#333 solid 1px; padding:20px;} .hilight { color:red;} </style> </head> <body> <div class="navig"> <a href="/" class="active">澳星移民</a> <a href="/" >澳星留学</a> <a href="/" >海外房产</a> <a href="/" target="_blank" >澳星之友</a> <a href="/" target="_blank" [...]
How To Use PHP to Force a File Download http://webdesign.about.com/od/php/ht/force_download.htm PHP allows you to change the HTTP headers of files that you’re writing, so that you can force a file to be downloaded that normally the browser would load in the same window. This is perfect for files like PDFs, document files, images, and video [...]
是一些相关的软件没有安装,如:gcc automake autoconf libtool make ubuntu debian 可以直接 apt-get install gcc automake autoconf libtool make redhat centos: yum -y install gcc automake autoconf libtool make
/etc/cron.daily/logrotate: /usr/bin/mysqladmin: refresh failed; error: ‘Access denied; you need the RELOAD privilege for this operation’ error: error running shared postrotate script for ‘/var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log ‘ run-parts: /etc/cron.daily/logrotate exited with return code 1 What’s happening is that after all the mysql backing up and everything is done, ubuntu is trying to use the debian-sys-maint user [...]
Depending on how Apache is configured you may need to add something like the following to your Apache config file: Code: LoadModule include_module modules/mod_include.so or more likely you just need to enable the module: Code: sudo a2enmod include Now restart Apache: Code: sudo /etc/init.d/apache2 force-reload
(一)WordPress基本模板文件,一套完整的WordPress模板包括如下文件,但是只有 index.php和style.css是不能缺少的: style.css : CSS(样式表)文件,不可缺少版权部分,真正CSS样式表可以放在其他文件; index.php : 主页模板,不可缺少;
Posted on 15, 六 |
Posted by 姚 迎迎 |
2 comments











