Archive for the ‘JavaScript’ Category

IE settimeout arguments

Comments Off

setTimeout() schedules an arbitrary function call for some point in future. This is useful when you have functions that do repetitive tasks some milliseconds apartment, but not constantly.

Read More »


String Truncation (Ellipsis) using jQuery for IE FF Opera

Comments Off

you could achieve the same thing by writing a small JavaScript code:

Read More »


jQuery Tips and Tricks you Must Memorize – Performance

Comments Off

Storing Data
Use data method and avoid storing data inside the DOM. Some developers have a habit of storing data in the HTML attributes like ex.:

Read More »


jQuery Tips and Tricks you Must Memorize – part 2

Comments Off

Wrap everything in a single element when doing any kind of DOM insertion

Read More »


Integration of Flex and JavaScript with ExternalInterface.addCallback()

No Comments »

Call ActionScript from JavaScript/Browser
Calling ActionScript from JavaScript again requires use of the ExternalInterface class. First we must use the addCallback() function to expose the ActionScript function we want to call to the container.

Read More »