I know that we have discussed it before, but I cannot find the post here or by googling for it. How do you get the width of a form dynamically loaded into a modal window?
The modal is hidden to begin with, the form is loaded and then the modal is revealed;
- $('#modal').load('forms/eprice.html', function(){
- $(this).fadeIn();
- });
The form has the name 'eprice' and works as it should. The only issue is getting the width of the form.
EDIT: I am on to something, I'll post when I finish testing.