標籤:Ext.Loader is the heart of the new dynamic dependency loading capability in Ext JS 4+. It is most commonly used via the Ext.requireshorthand. Ext.Loader supports both asynchronous and synchronous loading approaches, and
標籤:項目需要,一個頁面上就同時使用了jquery.datepicker、jquery.validate、jquery.uploadify,結果使用中就發現uploadify和datepicker和validate各種衝突,報錯都是js缺少對象。查了好久終於找到瞭解決原因 jquery檔案要修改此處,增加了紅字部分 /** * Determines whether an object can have data */ jQuery.acceptData =
標籤:Jexus簡介 Jexus web server for linux 是運行在Linux上的Web伺服器。其安裝和部署及其簡單,直接支援Asp.net 。下載Jexus wget http://linux.j66.net/down/jexus-5.0.2.tar.gz然後解壓: tar -zxv -f jexus-5.0.2.tar.gz開啟readme.txt 檔案查看詳細的安裝、配置說明;
標籤:A Model represents some object that your application manages. For example, one might define a Model for Users, Products, Cars, or any other real-world object that we want to model in the system. Models are registered via the model manager,
標籤:關於tcp通道下,啟用httpget,必須啟用一個http的基地址,如果要啟用無資料交換,host中必須開啟服務描述。 //01 create host Uri tcpBaseAddress = new Uri("net.tcp://127.0.0.1:12345/kp"); Uri httpBaseAddress = new Uri("http://127.0.0.1:12346/kp");
標籤:做前端的,用Ajax擷取資料,是常有的事情,同域下自然沒問題了,如果是不同域擷取資料,瀏覽器就有個同源策略的限制。Origin * is not allowed by Access-Control-Allow-Origin有人會說用JSONP了。如果背景資料介面只是返回單純的json資料呢,而且也不能修改符合JSONP的方式的資料形式。 這個時候,我們該怎麼辦呢? 如果你用的瀏覽器是Chrome的話,那麼就有福音了。在開啟Chrome的地址後邊加上 --args
標籤:問題的引子先來看問題的引子。定義一個下面這樣的類,此類有Serializable屬性,並且有一個屬性的定義沒有使用自動屬性來實現。[Serializable] public class Users { public int UserID { get; set; } public string UserName { get; set; } public string UserEmail { get; set; } private string