Build a jquery plugin



  1. 35% of all sites that use JavaScript, use jQuery
  2. 1 out 5, of all sites, use jQuery.




  1.  jQuery is a JavaScript Library.
  2.  Simplicity, Speeds up web development
  3.   Avoids common headaches w/ browsers
  4.   Extensive list of plugins
  5.   Large & active community
  6.   Extensive test coverage (50 browsers, 11 platforms)
  7.   API for both coders and designers.

what is a plugin?

  •  A plugin is nothing more than a custom jQuery method created to extend the functionality of   the jQuery object (Ex: $(‘ul’).myPlugin()).
  • You want to “find something”, and “do something” but the “do something” is not available in jQuery.
  • Roll your own “do something” with a plugin.

A jQuery plugin steps:

    Plugins are simple, just follow the steps

      Step 1. create a private scope for $

View original post 28 more words

Developing Chrome Extensions for Salesforce

The Silver Lining

Get off my case!Chrome extensions are awesome, they provide amazing convenience that is limited only by your imagination. There are some amazing Chrome Extensions for Salesforce already, some of my favourites being:

As a great fan of JavaScript I’ve always wanted to create a Chrome Extension for Salesforce and I’ve finally gotten around to it. The hardest part was figuring out what context the JS executes in (e.g. in the current tabs context, or in some separate context). Let me step through the code to show you how it’s done.

Chrome Extension Structure

A Chrome Extension is made up of a JavaScript, HTML, images and JSON. At its core is a manifest file which contains the metadata describing your application in JSON. There is a lot of documentation about the structure of this file but some of the key elements are shown below.


View original post 186 more words

Deploy Twillio – Salesforce library using Eclipse, without using ant or any other tool to integrate with Salesforce.


The first step of integration with any platform is setting up the environment for that integration. Some times it is easy and sometimes it is difficult. It depends on platform to platform.
If we talk about Twilio it provides all possible library in all possible languages and platforms so that we can integrate it with our apps. Here we are talking about Salesforce. Salesforce is the most popular platform till date in list of CRM. Integrating it with Twilio makes it a very power platform which can now has approach to person-to-person as we can call and sms to that person, and notify them. Twilio is an on-demand IVR platform that’s provides API for companies to build scalable applications that can make and receive phone calls.
If you go through that integration its first step is to install “Salesforce library” in your Salesforce org. For a developer who is just starting or…

View original post 50 more words

Salesforce: Dynamic dependant picklist in Visualforce Page

Manh Nguyen

I have a dynamic dependant picklist in Visualforce Page as the image below:


+ The master picklist includes objects (e.g: Lead, Contact, Account, ..)

+ The secondary one contains a list of the last scan results.

1.1 The master list :

Select Object :

changeObjectType() function will call the function handleObjectTypeChange in Apex controller.

1.2 The secondary list:
Displaying Results from Scan on :

2. Apex Controller :


View original post

Scaled Agile Framework

Scaled Agile Framework was a popular topic at Agile 2013.

Here are some highlights I borrowed:

5 Reasons to consider the Scaled Agile Framework

1. If you have successfully experimented with Agile at the team level and you are now interested in implementing a consistent Agile approach across one or more programs or departments.

2. If you have multiple teams running their own unique implementation of Agile but you regularly experience obstacles, delays, and failures anytime the teams are dependent on one another.

3. If you are eager to scale Agile across the organization but are not sure what new roles may be needed and what existing roles (ie management) need to change and how.

4. If you have attempted to scale Agile across your organization but you have struggled to achieve consistent strategy across business departments and consistent alignment from the portfolio level to the program and team levels.


View original post 47 more words

Making sense of it all

Work-Mom Balance

Do you ever feel like you have so many ideas and tasks swimming in your head, you don’t even know where to start? How about an array of “to do” lists on pieces of paper? Have you ever tried to make an important decision with various pros, cons, considerations, etc. and it’s just… daunting?

The solution could be as simple as an Excel spreadsheet. It’s a great way to capture everything in one place and give the full picture:

  • Take a few minutes alone to unload everything that’s stressing you out
  • If you’re weighing a decision, put each option into a row, and different criteria in the columns
  • Color code by priority (ex. red = important, blue = low priority)
  • Explore moving things around, creating sub-tasks, capturing additional notes
  • Make it your own!

Remember, spreadsheets are not just for work – you can use them for your life at home! Trying to decide where to go on vacation? Looking to compare different contractors? Planning your…

View original post 34 more words

A Must Have For Any Credit Controller

Wise Clips

In my line of work I have often come across the situation where we (the company I work for) have received a payment with no payment details and it is unable to match the payment to any open invoices.  When the customer has paid oldest-first or the list of open invoices is single-digit it is very easy to do the matching. However when you have to find five out of 50 invoices, things get trickier.

I identified the problem and search for the web and, as usual, Google has answer for (almost) anything.

I came across a VBA/ Macro-enable Excel solution where you enter number of possible  outcomes (1), target value / receipt (2), and list all invoices that should be matched (3) and with a click of a button you get your results.

All you need is a basic knowledge of VBA code or how macros work in Excel:

View original post 370 more words

jQuery – Browser Support and Microsoft Ajax Content Delivery Network

Simple and easy code, share this idea...

Browser Support

Current Active Support
Internet Explorer Chrome Firefox Safari Opera
jQuery 1.x 6+ Current − 1 version Current − 1 version Current − 1 version Current − 1 version
jQuery 2.x 9+

Any problem with jQuery in the above browsers should be considered and reported as a bug in jQuery.

Current – 1 version denotes that we support the current stable version of the browser and the version that preceded it. For example, if the current version of a browser is 24.x, we support the 24.x and 23.x versions.



Microsoft Ajax Content Delivery Network

The Microsoft Ajax Content Delivery Network (CDN) hosts popular third party JavaScript libraries such as jQuery and enables you to easily add them to your Web applications. For example, you can start using jQuery which is hosted on this CDN simply by adding a <script> tag to your page that points to…

View original post 265 more words