how invoke mousedrag event manually?
Hi all. I am newbie in jquery that's why ask your help.
I have jquery draggable element which is initiated by this code:
$("#set div").draggable({containment: 'parent', helper: 'original',
stack: { group: '#set div', min: 1}});
all works perfect, but I need to add click event for each $("#set
div") element, when element is clicked it must appear on the top of
the stack. I have tried increase z-index of element which was clicked,
but it has no effect, because z-index increases to determined value,
for example I have 5 div elements and I know that one of them have z-
index = 5, when I clicks on div element his z-index increases by 1 and
so on, all work perfect untill z-index becames 10, after it z-index
does not increase more.
Wait for your suggestions?