If you use and interact with the server every time a new XMLHttpRequest object on the way, the client will be very expensive memory. XMLHttpRequest object pool to achieve the general idea is: a cache array to store already created the XMLHttpRequest

Doing the project, encountered multiple records into one record, then the different fields into one field display, and separated by commas; I use, a lot of inconvenience to solve problems, particularly the discussion follows, for friends you refer! S

1, the first attempt to build a field for the database, all data are extracted from the system table, since the user can easily extend system functionality. CREATE VIEW dbo.V_SystemColumn AS SELECT DISTINCT TOP 100 PERCENT dbo.sysobjects.name AS Tabl

1, the first attempt to build a field for the database, all data are extracted from the system tables for later user can extend system functionality. CREATE VIEW dbo.V_SystemColumn AS SELECT DISTINCT TOP 100 PERCENT dbo.sysobjects.name AS TableName,

Referenced in the JSF page editor, fckeditor, JSF comes with a component, the project needs, you need to add your own components, pop up a dialog box. In the editor, talk about a dialog box like this: image.prototype.Execute = function () { var retur

returnValue is in html, javascript window object properties, the purpose is to return the window value, when used window.showModalDialog mode function to open an IE window (mode window know, is open can not operate after the parent window when the wi

1.Onunload, onbeforeunload are called when the refresh or close, you can <script> window.onunload specified by the script or in the <body> where specified. The difference is that onbeforeunload performed before the onunload, onunload it can pr

Often in the iPhone development experience required UIWebView the click of a button and the corresponding operations, such as click a button to play a sound, etc. Here is the code and remove the sound data from the database to the file is stored loca

Edit datagrid row before encountered a problem: Requirements: Modify the grid in a field. Hope will be a corresponding change in another field Figure: Words I want to modify the same time, category names are also revised to correspond to the value. (

select e.user_id,decode(to_char(e.datatype),'3',max(e.cell_value),'2',f_sum(e.cell_value)) cell_value from e_1099310300000000002 e group by e.user_id,atd.datatype In that case you do not have control sum (e.cell_value) is a character not report ora-0

Transfer: http://blog.csdn.net/huangbomeizi/archive/2009/10/13/4662172.aspx ie events with other browsers and other substituted In IE, there is no addEventListener method. After the IE5 can attachEvent When using attachEvent, click into the onclick.

showdialog the post in IE8 is to open a new window, and Firefox different. So if the modal window to submit to the background of some operations will cause beyond the control of closed windows. The solution is to <head> </ head> in adding <

Synchronization: http://www.java1995.cn/blog/item/138 In leaving the page prompts the user to the article stresses the use of onbeforeunload to prompt the user to leave the page. But recently, left the page, to use the JS call AS, the use of onunload

Through the first DEMO complement learned how to use setInterval and. ClearInterval two functions. DEMO through the second study, to master the sub-form of the parent form of the method call window.opener.myFunction (data). The third DEMO made me und

/ * * This document is asynchronous xmlhttp requests for a simple package * Prototytp carried out mainly to simplify, to the use of complex functions can use the prototype of ajax.js * External use, the main call for * Var myAjax = new Ajax.Request (