Posts by jvhti • 46 points
2 posts
-
1
votes1
answer119
viewsA: Dynamic change in an element when resizing the window
$(document).resize will not work because it is not the document that changes size and yes the window, the correct would be $(window).resize. To execute the code while loading and modifying size…
-
2
votes1
answer80
viewsA: Drag and drop only works with two clicks
I did a quick test and it seems to me that your problem is to call the update function with the event Mouseup, you are running the whole function when the mouse is released (several times, not…
javascriptanswered jvhti 46