Time of Update: 2013-11-22
歡迎大家轉載,轉載請註明出處!希望這個筆記對自己和大家有用,但是本人水平有限,如果出錯的地方,希望大家指出,多多批評,謝謝!今天說說這個datagrid架構的基本使用,這個架構一直以來都是大家比較頭疼的架構,尤其是Json資料的拼接,後台前台都很重要,使用這個架構,最重要的是仔細:無需廢話,上代碼了:<link href="jquery-easyui-1.3.2/themes/default/easyui.css" rel="stylesheet"
Time of Update: 2013-11-22
如題:今天弄公司首頁的時候,有個小需求是線上提問,當然不能跳轉到其他頁面[javascript] $.ajax({ url:'<%=App.webUrl%>/officeHome_infoSave.so' ,type:'POST'
Time of Update: 2013-11-22
public class AdminAction extends BaseAction {// 當前Action涉及到業務對象private AdminService adminService;private Admin admin;public void setAdminService(AdminService adminService) {this.adminService = adminService;}public Admin getAdmin() {return
Time of Update: 2013-11-22
第一個頁面中有兩個圖片,當點擊的時候能在第二個頁面中獲得它的屬性值()通過js進行傳值:第一個頁面:[html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.
Time of Update: 2013-11-22
調取GetDateDiff(start, end, "day") /* * 獲得時間差,時間格式為 年-月-日 小時:分鐘:秒 或者 年/月/日 小時:分鐘:秒 * 其中,年月日為全格式,例如 : 2010-10-12
Time of Update: 2013-11-22
線上示範分享一個來自corpse的固定背景滾動特效,使用background-attachment: fixed和導覽功能表,頁面會非常平滑的滾動。HTML<div id="cbp-fbscroller" class="cbp-fbscroller"> <nav> <a
Time of Update: 2013-11-22
然後在html頁面中,將charset改成GBK,在引用的js檔案語句中顯示註明charset="UTF-8" <!DOCTYPE html><html lang="en"><head> <!-- <meta charset="UTF-8"/> --> <meta
Time of Update: 2013-11-22
1、首先先瞭解一下PortletSession的屬性 static final int APPLICATION_SCOPE : &
Time of Update: 2013-11-22
Email:longsu2010 at yeah dot net知道John Resig的JavaScript Micro-Templating的人都知道其簡潔性以及實現代碼量及少。dojo在dojo/string模組中提供了一個非常簡潔的模板替換函數substitute。先來個例子require(["dojo/string"], function(string){ var html = "File '${name}' is not
Time of Update: 2013-11-22
Page Visibility API是判斷頁面是否在當前視窗展示,如果顯示在當前視窗,則可以選擇做或者不做一些事情。 比如我們使用一個AJAX 調用從後台每隔2s查詢一些資料[java] <!DOCTYPE html> <html> <body>&
Time of Update: 2013-11-22
1、所需HTML表單元素[html]<input type="file" name="fileImg" id= "fileImg" /> <div id="fileQueue" ></div> <a href="javascript:upload()" class="easyui-linkbutton"
Time of Update: 2013-11-22
[javascript]function SetIFrameHeight(down) { var Sys = {}; var ua = navigator.userAgent.toLowerCase();
Time of Update: 2013-11-22
Ext JS 的ComboBox是什嗎? 說白了,就是下拉式清單+文本,只不過更豐富!怎麼使用?[javascript]Ext.onReady(function () { var store = Ext.create("Ext.data.Store",
Time of Update: 2013-11-22
[html] <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gbk"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.
Time of Update: 2013-11-22
上會寫的Flexigrid折行顯示時,擷取值有問題,報錯。[javascript]getRows: function(){ //add by
Time of Update: 2013-11-22
如下: 代碼:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv=
Time of Update: 2013-11-22
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <style type="text/css">
Time of Update: 2013-11-22
代碼:[html] <!DOCTYPE html> <html> <head> <title>merge.html</title> <meta http-equiv="keywords"
Time of Update: 2013-11-22
<script src="Jquery1.7.js" type="text/javascript"></script> <script type="text/javascript"> $(function ()
Time of Update: 2013-11-22
Jquery不必多說,你能閱讀到該篇文章,肯定知啊都jquery是js架構。大家在做項目的時候肯定或多或少都需要用到ajax。而如果用到jquery的ajax,那麼就需要將jquery引入到jsp頁面。當你發現你的jquery ajax無效的時候,不妨使用 fire