script type (RSS)

struts2 using kindeditor upload pictures (including jmagic compressed images)

Project uses a kindeditor3.4 UploadContentImgAction ImageUitl

JavaScript development tools collection (b)

2. StringBuffer copying method Description: This method is a Java class in a StringBuffer to imitate, not the efficiency of Java could, but for string assembly, but is a good tool to approach Use are ...

Written by a number of Ajax and JavaScript need to know DOM concepts

1 the use of JavaScript in the page        To the use of a web page JavaScript, you can use <script> label, if you want to write JavaScript in the page source directly, and can be as follows:   ...

Detailed study DWR

DWR The principle is: the JAVA-type and reached into the JS from JS call in JAVA class method, the realization of the asynchronous call. GWT compared with the advantages of DWR A, DWR can be synchroni ...

Basic configuration of DWR

1. DWR is very easy to use, the first of its official website (www.directwebremoting.org) Download dwr.jar, the latest version of the current is 3.rc1 2. Dwr.jar to download on the project WEB-INF \ l ...

Tempo.js: Template JS lightweight tools

This is a new project OurJS.cn released: Tempo.js 1. Tempo.js is a lightweight tool for js type template; 2. The purpose is to achieve HTML code separation with the JS code, making use of JS in the HT ...

javascript simple example of a collection

Simple to verify: <form name="myform"> User Name: <input type="text" name="username"/> <br /> Password: <input type="password" name="p ...

Flash frame dotted line solutions

Since an anti-Microsoft browsers Security update After, Flash web pages began to appear dashed frame shows Example of a Object that is the way Flash tag call to open IE browser (Firefox does not this ...

Examples of entry-dwr

1. To create web project 2. Dwr.jar packages web projects Add / WEB-INF/lib directory 3. Web.xml add the following code 4. Service.java the creation of categories, as follows 5. Dwr.xml Add to add the ...

js drag out the operation table

<! 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.or ...

dwr how to obtain the return value from the callback function to the scope of

Dwr when in use, in accordance with access to a pojo object id, js on the page to be a js object to be converted, it is easy to use. However, the return value can only be used inside dwr callback func ...

Ajax dynamic loading tree menu

Recently, the company requires a dynamic loading of the tree menu, first open the page when loading the first level node, point to the first floor with Ajax after any node to the node under the dynami ...

ajax get request parameters Chinese garbled solution

Prospects: 1, regist.jsp 2, ajax.js Background: 1, AjaxDemoAction.java (used DispatchAction) 2, EncodeUtil.java (transcoding type)

Javascript document how to write Chinese

If you use the Eclipse open window-> preferences and then General-> Content Types, select JavaScript Content, in the following Default encoding, changed to GBK. Re-open. Js files, as soon as OK ...

Prototype.js sent using ajax get request parameters garbled Chinese solution

Version: prototype 1.6.0.3, struts1.2. Front (page introduction prototype.js): 1, prototype-ajax.jsp Background: 1, PrototypeAjaxAction.java 2, EncodeUtil.java (transcoding type)

JavaScript Redirect

The use of JavaScript can be user-oriented to a specific address, and the different ways the history of the browser will have different effects on record. 1, using the location.href, you can click you ...

js determine whether or not a positive integer input. The function of the number of floating-point numbers, etc.

1. The following is a list of some types of numerical interpretation of regular expressions "^ \ \ d + $" / / non-negative integer (positive integer + 0) "^ [0-9] * [1-9] [0-9] * $" ...

JavaScript can achieve double-click to edit text

<! 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/199 ...

JSF and DWR integration

①, in the normal allocation of DWR (including reverse ajax configuration) and JSF to do after the web.xml in the following definition: <filter> <filter-name> DwrFacesFilter </ filter-na ...

ajax auto-complete example of

We encountered one of the most popular auto-complete function. Google launched its home page in Google Suggest, the presentation of the auto-complete the perfect present. Google Suggest is amazed peop ...

ext webwork + hibernate + spring crud ssh2 Records

1.login jsp <% @ Page language = "java" contentType = "text / html; charset = UTF-8" pageEncoding = "UTF-8"%> <% @ Taglib prefix = "ww" uri = "/ w ...

ext webwork + hibernate + spring crud ssh2 viewport layout of text

1.ext_viewport.jsp <% @ Page language = "java" contentType = "text / html; charset = UTF-8" pageEncoding = "UTF-8"%> <% @ Taglib prefix = "ww" uri = &q ...

restrictions on the realization of landing ajax

Published availability, if the user is not logged, login prompt, log on to the hair after the Listing page <! - Js_login to start -> <c:if test="${num=='1'}"> <script ...

js examples to explain this usage

Used in other places this is not more than about. Mainly to their own notes to be, I hope we can bring some help.

JS read xml

JS read xml

Upload file false AJAX

First of all, that is to say can not be achieved ajax upload, you can think about ajax and background communications through the transmission of the string, how can transfer documents? In fact, for se ...

javascript calendar

javascript calendar

Simple realization of the code is shaded site (JS)

Very simple web page to add the following code: <script type="text/javascript"> var ht = document.getElementsByTagName ( "html") [0]; ht.style.filter = "progid: DXImageT ...

Development of clusters based on the Nutch Search Engine

Document options <script type="text/javascript"> </ script> Print this page <noscript> </ noscript> <! - START RESERVED FOR FUTURE USE INCLUDE FILES - ><!-- ...

prototype to study the use of (b) Ajax partial update

Ajax object A common feature of the above-mentioned method is very good, but let's face it, they are not the most senior of the kind of things. Which is it? You might even have written the script ...

Modify the use of Javascript client registry (IE effectively)

ActivexObject generated by javascript to modify the client registry, but only in ie effectively The following is a javascript to modify the registry through the windows Task Manager to disable the exa ...

Ajax to study the application of

Ajax in the commonly used in the development of java web application code is as follows: <% @ Page language = "java" import = "java.util .*" pageEncoding = "UTF-8"%> ...

js countdown

Recently graduated from design, because of the need to write a do-it-yourself examples js countdown, and now here, after the backup. <script type="text/javascript"> function clock () ( ...

Prototype study and document downloads and tutorials

1, Type - the type of 1) Object type. Prototype of the basic types in because js is not the type of language that non-type, when we look at the overall situation, Object to provide the overall situati ...

JS control hidden DIV shows

First, the demand for Description: DIV now has three blocks, three super-links, need to click a link to show the corresponding module, and hide the remaining two modules Second, the code is as follows ...

js create dynamic forms. DIV.遮照

js create dynamic forms. DIV.遮照

js package music player (IE, FF)

IE only support continuous playback, FF can not play continuously under <! DOCTYPE HTML PUBLIC "- / / W3C / / DTD HTML 4.0 Transitional / / EN"> <HTML> <HEAD> <TITLE> ...

js in the top, left, height, width parameters and examples of analytic

The following analysis of these parameters are directed to the IE browser: Get screen coordinates of the mouse, as opposed to the entire page: x = event.clientX, y = event.clientY Be the width of the ...

js function to remove spaces in string

The use of regular expressions to remove spaces in string

google Api javascript dynamic loading

google dynamic loading api can not only own the ajax loaded modules can also be loaded at the same time many of the three popular modules, such as jQuery, dojo, yui, etc.. This article has a way of dy ...

js JavaScript linkage of the package type, no matter can be several stages of data using non-Ajax way to add random linkage

From the snail to come Black hair: http://heisetoufa.javaeye.com/

ExtJS environmental structures

With the development of the computer, RIA (rich Internet applications) is also a popular inevitable in a large number of RIA implementation, ExtJS is doing quite well. Javascript to write ExtJS is mai ...

js implementation of the order of

Javascript to load the page at the time of the implementation of the order of First, embedded in the HTML method Javasript Directly in the Javascript code on the tag on the <script> and </ sc ...

jquery ajax login authentication

jquery ajax login authentication

Rails use to determine the version of browser

The process of development, will inevitably be used to determine the version of the browser, usually we use the following Javascript to achieve, but also with reference to articles JE JS to determine ...

SSH + AJAX project link "Internet Explorer can not open the site, has ceased to operate" to solve the problem

Government has recently done a project, SSH + AJAX, pre is going smoothly and when the final integration test found there some link "Internet Explorer can not open the site, the operation has bee ...

Ajax registration verification

Ajax registration verification

JavaScript how to pass parameters to JavaScript files

First, the use of global variables <br /> This is the most simple way, such as Google Adsense: Code <script type="text/javascript"> google_ad_client = 'pub-3741595817388494&# ...

js call flex when the Close Window

js call flex when the Close Window

JavaScript form validation

The use of JavaScript, one of the most common form is to verify Check user input for the existence of errors and whether the omission of the option will, JavaScript is a very convenient method