dom-manipulation

Where do .detach-ed objects go?

I have something like this: //html <div class="panel"> <div class="tools"> <a href="#action1">Action 1</a> <a href="#action1">Action 1</a> <a href="#action1">Action 1</a> </div> <div class="list"> <table>...</table> </div> </div> //JavaScript (jQuery) var lookup = $('.panel'), butto...

Having a child page resize parent without invoking parent hosted script?

I currently have two html pages, a server hosted page, and a client hosted page, both on the same domain. The server page, has an iframe sourcing the client page. I want the parent page iframe to resize based on the child pages content. To accomplish this I have a bit of javascript that sits on both pages. The client(child) page determ...

Change FORM element to something else or delete it while keeping all child elements.

I've integrated Asp.net MVC with Sharepoint site. It works great. But I'm using default Sharepoint master page as well (~masterurl/default.master namely). the problem is that this particular master page has the whole page wrapped in a form element while all Sharepoint pages are just normal Asp.net WebForm pages. My MVC content should ha...