Time of Update: 2015-02-14
標籤:1、文字框<input type="text" value="文字框" id="text" />var text = $("#text"); text.focus(function() { if(text.val() == this.defaultValue) { $(this).val(‘‘).css({ ‘background‘: ‘#f9f9f9‘ }) }
Time of Update: 2015-02-14
標籤:用戶端 ajax yii2 之前yii2的自訂檢驗需要使用到ajax來觸發伺服器端自訂代碼的檢驗功能,後來發現整個表單都使用ajax的話有很大的延遲。 思考了一下正常php表單的解決方案,最好的方法就是一部分表單元素使用client-side檢驗,需要伺服器端的再使用ajax,例如email或者使用者名稱是否已被其他人註冊了。代碼如下:<?php $form =
Time of Update: 2015-02-14
標籤:超連結 左右 1.我建立了2個jsp頁面 index.jsp頁面中: 重要是用來將頁面按照2:8分為左右2部分<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%><!DOCTYPE html PUBLIC "-//W3
Time of Update: 2015-02-14
標籤:netsuite中國 netsuite erp netsuite crm netsuite trigger networks 650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/59/BC/wKioL1Td0DDj7mq3AALH8GUaBZ0821.jpg"
Time of Update: 2015-02-14
標籤:php編碼 解碼
Time of Update: 2015-02-14
標籤:servlet httpservlet 源碼解析servlet 在編寫 Servlet 時需要用到兩個用於所有 Servlet 的基本軟體包:javax.servlet 和 javax.servlet.http。下面主要介紹 javax.servlet 提供的 Servlet 以及 javax.servlet.http 提供的 HttpServlet
Time of Update: 2015-02-14
標籤:rdiframework.net 開發架構 工作流程 許可權系統 easyui RDIFramework.NET ━ .NET快速資訊化系統開發架構9.15 案例模組
Time of Update: 2015-02-14
標籤:Filter是Java Web中用于禁止瀏覽器在未登入的情況下訪問內部網址。用法就不說了,看了下網上的用法基本都是貼的李剛的那本J2EE書上的代碼。需要注意的是,如果你直接設定 <url-pattern>/*</url-pattern>, 那麼你的CSS和JS檔案也會一同被過濾掉。那麼怎麼樣解決呢?網上又說建一個jspPage的檔案夾把jsp頁面放進去然後 設定
Time of Update: 2015-02-14
標籤:RDIFramework.NET ━ .NET快速資訊化系統開發架構9.15 案例模組
Time of Update: 2015-02-14
標籤:package com.jerry.httpclient;import java.io.File;import java.io.FileInputStream;import java.security.KeyStore;import javax.net.ssl.SSLContext;import org.apache.http.HttpEntity;import org.apache.http.client.methods.CloseableHttpResponse;import org.
Time of Update: 2015-02-14
2015年網站設計趨勢,2015年網站設計http://www.business2community.com/online-marketing/website-design-trends-stay-ahead-curve-2015-01148554剛剛看到這篇文章,覺得對新的一年網站設計趨勢把握的比較對,忍不住要來摘譯下。1. 響應式設計這個現在是一個網站必備要素了。如果你希望你的網站獲得更多的使用者,那麼你更要支援對行動裝置的最佳化。2
Time of Update: 2015-02-14
php實現4種排序演算法,php4種演算法文章來自“PHP100中文網”前提:分別用冒泡排序法,快速排序法,選擇排序法,插入排序法將下面數組中的值按照從小到大的順序進行排序。 $arr(1,43,54,62,21,66,32,78,36,76,39);1.
Time of Update: 2015-02-14
jQuery選取器代碼詳解(五)——執行個體說明tokenize的解析過程,jquerytokenize原創文章,轉載請寫明出處,多謝!以下分析基於jQuery-1.10.2.js版本。下面將以$("div:not(.class:contain('span')):eq(3)")為例,說明tokenize和preFilter各段代碼是如何協調完成解析的。若想瞭解tokenize方法和preFilter類的每行代碼的詳細解釋,請參看如下兩篇文章:jQuery選取器代碼詳解(三)—
Time of Update: 2015-02-14
C遞迴版的全排列和組合演算法,c遞迴排列演算法For example,[1,2,3] have the following permutations:[1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], and [3,2,1].全排列:從1開始遞迴,然後對2遞迴,最後對3遞迴 順序是先輸出 1 2 3 1 3 2 2 1 3 2
Time of Update: 2015-02-14
JS(二)數字對象和字串對象,js數字對象字串一、js功能因為學的東西比較多,容易混淆。也不可能一個個的記住,這裡備忘一下,以後要用到的時候,就能快速的回想起來。index-number.js/** * 顯示數字對象 */function myFunction() {var x1 = 3.14;// 小數var x2 = 11;// 整數var x3 = 14e5;// 大數字var x4 = 0237;// 八進位var x5 = 0x12f;// 十六進位var y = 0.1 + 0.2;
Time of Update: 2015-02-14
Reverse words in a string,reversewords 剛看到這個題目,手癢了.還挺有意思的...#include <stdio.h>int main(){ char str[] = "Please reverse this string!"; printf("%s\n", str); str_rev(str); printf("%s\n", str); return 0;}int str_rev(char
Time of Update: 2015-02-14
java並發編程-安全執行緒1:servlet訪問統計,servlet訪問統計非安全:@NotThreadSafepublic class UnsafeCountingFactorizer extends GenericServlet implements Servlet { private long count = 0; public long getCount() { return count; } public void
Time of Update: 2015-02-14
Eclipse jar打包詳解,eclipsejar打包方法/步驟其實打包edlipse jar包主要抓住3點就好: 首先,入口地址,就是從哪個類開始運行(當然這個類肯定有main函數); 其次,本項目依賴的其他jar包路徑; 最後,在eclipse項目下建立一個manifest.mf檔案,將前兩者的資訊寫進檔案,並加入版本號碼,具體規範下面步驟會有詳細說明。知道上面的3點後,開始詳細講述打包步驟:1.
Time of Update: 2015-02-14
64位原子操作add,64位原子add64位原子操作的加法的實現。只有看彙編才能理解1100306:80b5ef20 <atomic64_inc_return_cx8>:1100307-80b5ef20: 53 push %ebx1100308-80b5ef21: 89 d8 mov %ebx,%eax1100309-80b5ef23: 89 ca
Time of Update: 2015-02-14
leetcode_160_Intersection of Two Linked Lists,leetcodetwosum歡迎大家閱讀參考,如有錯誤或疑問請留言糾正,謝謝Intersection of Two Linked ListsWrite a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked