JQuery selectable and links inside the selected item

JQuery selectable and links inside the selected item

Without a doubt the JQuery library is the most used Javascript framework for creating interactive web applications. Personally, I’m also a big fan of the JQuery UI Library and all it’s effects. Just makes it easy and straight forward to build interactive apps.

Recently, I’ve added the “selectable” effect. The jQuery UI Selectable plugin allows for elements to be selected by dragging a box (sometimes called a lasso) with the mouse over the elements. While this is working like advertised, I’ve came upon the issue that any link inside a selectable element was not working anymore. When I clicked on the link inside, it always called the function that I defined in the selectable() options.

After reading trough the whole docs, I’ve finally found out that one needs to tell the selectable() options to cancel it for links. Since we are all fans of real code, here is the solution:

cancel: ‘a’,
stop: function(event, ui) {

Trusted by over 2,000 organizations with millions of emails

Helpmonks helps us answer customer emails at lighting speed
We couldn't do our job without Helpmonks!
Helpmonks, the best thing since sliced bread
Excellent option for collaborating email amongst your team
A good platform that is here to grow and help you grow
Helpmonks is a great tool that our company utilizes and depends on
Great shared inbox for the team
Fantastic email support service for any business
Easy to navigate and catalog data for specific users
Solid Helpdesk software w/ responsive customer support
A really good solution to manage customer support mailbox
Good support, useful features

One more thing...

Helpmonks gives you the ability tocollaborate as a groupin your shared mailbox, features aTeam To-Do App, powerfulCustomer Relationship Management (CRM)capabilities, integratedLive-Chatand Email Marketing Tools for email newsletter and automated email campaigns, collision detection, email tracking, reminders, mentions, custom fields, custom applications, customer satisfaction ratings, Single-Sign-On (SSO) & SAML authentication, Trello, Zapier, Slack, an API, and much more.

Check outthe complete feature listor sign up for afree 30-day shared inbox trial now