Click here to Skip to main content
15,889,837 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have created a div mydiv which is dragable and it is placed inside abc.ascx page and this abc.ascx page is displayed in some other pqr.aspx page(parent page) using iframe.

I am able to drag mydiv only within abc.ascx but i want to drag mydiv in full window.

i have tried somthing like this but it is not working.

C#
$("#mydiv").each(function () {
     $(this).draggable({
         containment: $(this).parent().parent()
     });
 });


the div is not dragable outside iframe.
Posted
Updated 29-Oct-14 21:20pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900