Skip to content

Conversation

@derfux
Copy link

@derfux derfux commented Nov 13, 2013

A quick solution to disable the click event on selected labels.
Useful to have hyperlinks for example:

$('#terms').prettyCheckable({
    labelNotClickable:true,
    label: 'I am ok with the <span id="link">General Terms and Conditions</span>!'
});
$('#link').on('click',function(e){
    window.open(url);
});

@arthurgouveia
Copy link
Owner

@derfux, would you mind also updating the Readme file with proper documentation? I'm willing to merge this as soon as this is ready.

@arthurgouveia
Copy link
Owner

@derfux ?

@maxaudrin
Copy link

Hi, any chance to get this merged into master? I also need to disable the click event on label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants