elclanrs / jq-idealforms-old

The ultimate framework for building and validating responsive HTML5 forms.
665 stars 95 forks source link

Detatch and append #117

Closed obxpete closed 11 years ago

obxpete commented 11 years ago

I wonder if you could help me with something I've got a long form that is very slow loading in ie8. Some posts I've read indicate that if you detatch, manipulate and then reattatch your object you could see speed improvements. Below is a snippet of what "should" work, but does't. Could you comment? Thanks,

$("#customRegistrationForm")
  .detach(function() {
    var idealform = $(this).idealforms().data('idealforms');

  })
   .appendTo('#formContainer');```
elclanrs commented 11 years ago

Could you describe what is actually being slow? Is it just loading time? Do you have a select with many options? I'm not sure detach will help here since the form is already generated...What are you trying to manipulate in this case?