Im looking to create a plugin that will rip all form content from any given URL. Obviously AJAX cant handle remote sites so thats done via some server-side proxy, but here is what I have so far:
http://styledna.net/jform/ Its working fine, except for when I try processing the content thats loaded. Basically what happens is I read all the content, filter out anything thats not a input, label or text thats a child of a form. That part works fine, but when I try wrapping each form in a fieldset it breaks... click "Go" really fast to see that the fieldset is add for a split second, then it vanishes. No idea how to solve this, if I put an alert in before the each().wrap() code then it works fine, alert removed and its broke again!