Tuesday, March 31, 2015

jQuery noconflict


jQuery noconflict

Many JavaScript libraries use $ as a function or variable name just as jQuery does. In jQuery's case, $ is just an alias for jQuery, so all functionality is available without using $.We know by default, jQuery uses $ as shortcut for jQuery. Thus, if you are using another JavaScript library that uses ...

Read More
Anonymous
Unknown Software Engineer

Monday, March 30, 2015

Callback JavaScript


Callback JavaScript

JavaScript statements are executed line by line. However, with effects, the next line of code can be run even though the effect is not finished. This can create errors. To prevent this, you can create a callback function. A callback function is executed after the current effect is finished. Let's ...

Read More
Anonymous
Unknown Software Engineer

How to detect if JavaScript is disabled ?


How to detect if JavaScript is disabled ?

Nowadays almost all web pages using JavaScript programming language . It makes web pages functional for specific purpose and if disabled for some reason, the content or some functionality of the web ...

Read More
Anonymous
Unknown Software Engineer

Sunday, March 29, 2015

Understanding Timers : setTimeout() and setInterval()


Understanding Timers : setTimeout() and setInterval()

Browser provides a built-in scheduler which allows to setup function calls for execution after given period of time. setTimeout : The setTimeout() method calls a function or evaluates an expression after a specified number of milliseconds. The Syntax is var timerId = setTimeout(func | code, ...

Read More
Anonymous
Unknown Software Engineer

JavaScript regular expressions


JavaScript regular expressions

Regular expressions is a form of pattern matching that you can apply on textual content.When you search for data in a text, you can use this search pattern to describe what you are searching for. In JavaScript, regular expressions are often used with the two string methods: search(), replace(), match(), ...

Read More
Anonymous
Unknown Software Engineer

JavaScript Introduction


JavaScript Introduction

JavaScript is more popular and commonly used as a client side scripting language. This means that JavaScript code is written into an HTML page.When a user requests an HTML page with JavaScript in it, the script is sent to the browser and it's up to the browser to do something with it. JavaScript ...

Read More
Anonymous
Unknown Software Engineer