Hi! I want to make sure that the structur of my form is like that:
<form>
    <div>
      <label>
      <input>
    </div>
<form>
I use jquery to catch the label from whereever it is and move it between <div> and <input>.
This works fine in Firefox but IE has problems with that. How can I get it running with IE?
Here's the line that causes errors in IE6 and IE7:
var inputname = $(this).attr('name');
$(this).parents('form').find('label[for='+inputname+']')
       .prependTo($(this).parent('div.slidebeyond-div'));
Thank you!