3 months, 30% HIKE IN YOUR SALARY or 100% money back – no questions asked //hide the popover on clicking anywhere on the document except itself $(document).click(function(e) { //check whether you clicking on the popup content as it is also part of document $(‘.popover’).click(function(){ return false; // Do nothin }); //clicking on document [...]
3 months, 30% HIKE IN YOUR SALARY or 100% money back – no questions asked
there are lot of things we can pick it up from HTML5 boilerplate. One of the major findings I found from boilerplate is
How to avoid console errors on browsers that lacks console such as IE.
// [...]
3 months, 30% HIKE IN YOUR SALARY or 100% money back – no questions asked
Below are couple of things we need to do to make sure zen coding works well with sublime editor.
1. First download sublime editor @ http://www.sublimetext.com/
2. Install Sublime package control
– Go [...]
3 months, 30% HIKE IN YOUR SALARY or 100% money back – no questions asked
Models are the heart of any JavaScript application, containing the interactive data as well as a large part of the logic surrounding it.
How to create a Model in Backbone.
Now lets look at how to create [...]
3 months, 30% HIKE IN YOUR SALARY or 100% money back – no questions asked
If you are pretty new to backbone.js like me, then you are the right place and If you are wondering how to delete a Model using backbone then
1. Create a Model first
2. Delete it [...]
3 months, 30% HIKE IN YOUR SALARY or 100% money back – no questions asked
I had requirement for that the client that I should mask the SSN. I came up with a small script using javascript to mask SSN digits
Input:123456789
output:***-**-6789
3 months, 30% HIKE IN YOUR SALARY or 100% money back – no questions asked
I got a requirement to disable cut copy and paste on the confirm email address text box. We have 2 text box one is email address and other confirm email address. User is not suppose to cut,copy or [...]
3 months, 30% HIKE IN YOUR SALARY or 100% money back – no questions asked
$(document).ready(function(){
if($.browser.opera){
$(‘a[href]‘).attr(‘tabindex’, 0);
}
});
3 months, 30% HIKE IN YOUR SALARY or 100% money back – no questions asked
Below are the firefox only and opera only hacks. Its not recommended to use CSS hacks, but sometimes, we need to write CSS hacks to target specific browsers.
/*firefox only hack*/ @-moz-document url-prefix() { .selector{ your declaration } [...]
3 months, 30% HIKE IN YOUR SALARY or 100% money back – no questions asked
After dwelling with time for 2-3 hrs finally got the solution for validation not working for dynamically added inputs. Thought of sharing with you guys.
Once u done with the adding the fields dynamically, to get it validated [...]
Latest posts
- bootstrap popover | bootstrap popover hide on click | bootstrap popover hide on document.click
- Avoid console errors in browsers that lack a console | HTML5 boilerplate
- getting started with Sublime editor | how to install zen coding | zen coding for sublime editor
- getting started with backbone | Models in Backbone
- How to delete a model in backbone


