Quantcast
Channel: infirock » JavaScript
Browsing latest articles
Browse All 10 View Live

Image may be NSFW.
Clik here to view.

Check if jQuery.js is loaded

This is the very basics of any programming language, checking if some class, method, variable or property does already exist. In our case the programming environment is JavaScript and the object we are...

View Article



Image may be NSFW.
Clik here to view.

How to check jQuery version?

Sometimes you need to know what is the jQuery version that your script is working with. This maybe useful in you jQuery plugins, so your code can utilize the jQuery version specific code or maybe your...

View Article

Image may be NSFW.
Clik here to view.

How to check loaded jQuery UI version?

In this post I will show how to check currently loaded jQuery UI version on the page. Unlike checking loaded jQuery version ( $().jquery ), checking jQuery UI version is a bit different. Checking...

View Article

Image may be NSFW.
Clik here to view.

Show the browser info using jQuery

The $.browser property provides information about the web browser that is accessing the page, as reported by the browser itself. It contains flags for each of the four most prevalent browser classes...

View Article

Image may be NSFW.
Clik here to view.

Magento Forms: Prototype Javascript Validation

Magento Forms: Prototype Javascript Validation While Javascript form validation shouldn’t be your only form of defense with regards to user input, it definitely improves the usability and efficiency of...

View Article


Image may be NSFW.
Clik here to view.

jQuery: Print array and object

It’s very easy to print array and object with jQuery. You can do it with jQuery.each() function. The jQuery.each() function can be used to iterate over any collection, whether it is a map (JavaScript...

View Article

Image may be NSFW.
Clik here to view.

jQuery select a radio button example

jQuery select a radio button example <html> <head> <title>jQuery select a radio button example</title> <script...

View Article

Image may be NSFW.
Clik here to view.

Dynamic Variables in Javascript

In Javascript under normal circumstances we create all variable by writing “var ” in our code. But sometimes we might require to create variable at runtime either inside loops or inside some condition....

View Article


Image may be NSFW.
Clik here to view.

Magento tutorial: Form validation in Magento

Magento tutorial: Form validation in Magento As you know, Magento uses Prototype as javascript library.  It provides a simple way to validate html form values. Below is an example: <form...

View Article


Image may be NSFW.
Clik here to view.

How to use jQuery’s .noConflict() functionality

How to use jQuery’s .noConflict() functionality About jQuery.noConflict(); jQuery is a great javascript library that makes your javascript development more interestin, exciting and effective. Most of...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images