Hi, I think i didn't grasp something very basic...
I've a callback that receives some HTML from a php script (stored in data). the HTML is something like that:
- <div>
- <h1>title</h1>
- <p>lalala</p>
- <form .....></form>
- </div>
now I want to append every thing beside the form to another div.
- $(data).remove('form').appendTo('#mydiv');
what is wrong with this?
thanks a lot