background preloader

JQuery & Javascript

Facebook Twitter

.click. Description: Bind an event handler to the "click" JavaScript event, or trigger that event on an element.

.click

This method is a shortcut for .on( "click", handler ) in the first two variations, and .trigger( "click" ) in the third. The click event is sent to an element when the mouse pointer is over the element, and the mouse button is pressed and released. Javascript: String trim functions: ltrim, rtrim and trim. This is the source for tree Javascript function to strip the spaces of a string.

Javascript: String trim functions: ltrim, rtrim and trim

The first is a definition of the seperate function ltrim, rtrim and trim. These trim the spaces to the left of the string, the right of the string and both sides respectively. JavaScript splice() Method. JavaScript replace() Method. Set cursor position in html textbox. Set cursor position in html textbox. Just another tech blog: jQuery Table & Select List Filter. Just another tech blog: JavaScript Select/List Box Filter.