house9/jquery-iframe-auto-height — Issue #17: hi  house:  this is about the callback function issues
Author: yiqing-95
Created: 2012-01-03 03:59:57+00:00
State: open

options.callback({newFrameHeight: newHeight});

you see in the callback function we can only access the newHeight . actually we often want to access the iframe element too . just use the "call" or "apply" thus we can use the "this" to refer to the current iframe element !

best wishes !