Opened 9 years ago

Closed 9 years ago

#10576 closed bug (notabug)

JQuery sortable calling document.ready function automatically while moving divs.

Reported by: vipul Owned by:
Priority: minor Milestone: none
Component: ui.core Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:


I am using jquery ui 1.9.1 version. Recently I implement jquery sortable feature into my application for moving divs around. I have some jsp included inside my sortable divs which have their own document.ready functions. Every thing is working fine but when I am moving my div which has any jsp include it calls all document.ready function which is defined in included jsp.I am not able to find any reason for this. This problem causing a lot of issues because I have some ajax calls which fires on document.ready call.

Change History (1)

comment:1 Changed 9 years ago by Scott González

Resolution: notabug
Status: newclosed

Sounds like you have scripts inside elements (bad idea) which are executing when they're moved in the DOM. This would be unrelated to .ready(). You should start by asking for help on the forums and providing a reduced test case so others can actually see the code you're working with.

Note: See TracTickets for help on using tickets.