have you tried putting _IG_AdjustIFrameHeight(); into a function
and having the submit button call that function as well as whatever
else it is doing?
On Feb 24, 4:21 am, String <ster...@googlemail.com> wrote:
On Feb 23, 10:52 pm, String <ster...@googlemail.com> wrote:
Something like this: To the submit button in your HTML, add an onclick
event that calls a JS function that sets the document height to 120px,
calls IG_AdjustIFrameHeight(), then goes ahead and submits the form
(this last being what I referred to as "forwarding").
It occurred to me later that an even easier way would be to simply set
the document height and call IG_AdjustIFrameHeight() in the form's
onsubmit event, then let the submission continue as normal. Ought to
work unless you run into a timing issue with IG_AdjustIFrameHeight
(which is also a possibility in the method I outlined above).