JavaScript
Use of jQuery with other Javascript Libraries like Prototype, MooTools, or YUI..
Today i faced i problem where i want to use jquery with other javascript library (Prototype). By default jquery is using "$" as a short key for jQuery. When you use jQuery with other javascript library,jQuery object and prototype object were using same variable($). As a result they conflict with eachother and one of the functionality of javascript library will be missed. If you want to use jquery with other javascript library(Prototype, MooTools, or YUI) at the same time than you have to use different object instead of "$".
Javascript validation : Date Comparision not working
In most of the web application , Javascript is one of the must needed scripting language. There are some problem happens when you will write logical code in javascript like if condition, for loop etc. If you need to compare two dates..
jQuery validation : End date should be Greater than Start date
In some case when you are working around dates you need to validate two dates. For e.g if you are working with Start Date and End date than "End Date must be Greater than Start Date". This can be done by javascript by comparing two dates. But if you are using jquery validation than below is the easy and simple way to check that End date is Greater than Start Date or not.
How to differentiate Addition Operator with Concatenation Operator in Javascript
All we know about Concatenation operator (+) in JavaScript which combine two string with "+" operator in JavaScript(If you want to do concatenation in PHP than use "." character between two strings). Problem creates when you want to do addition of two JavaScript variables.


I am
Recent Comments