jquery disable selectable grays out the element -


i'm trying use button turn on , off .selectable behaviour div on page. can using these commands:

$('#selectable').selectable({disabled: true}) 

or

$('#selectable').selectable("option", "disabled", true) 

the functionality works intended, problem grays out entire element selectable. enabling selectability removes grayed-out look, every time disable selectable grays out.

does know how disable selectability attribute without graying out whole element?

how destroying selectable $( "#selectable" ).selectable( "destroy" ); , when need $( "#selectable" ).selectable();


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -