html - jQuery draggable not work containment -


i use draggable div

but containment not working in function

$("#main").draggable({     start : function() {       var ps = $('#ps').val();       containment:[-1000,-1000,ps,ps]     } }); 

i want var ps use in draggable because value change after


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -