Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error:Cannot call method 'extend' of undefined #26

Closed
SFPink opened this issue Apr 7, 2014 · 5 comments
Closed

Error:Cannot call method 'extend' of undefined #26

SFPink opened this issue Apr 7, 2014 · 5 comments
Labels

Comments

@SFPink
Copy link

SFPink commented Apr 7, 2014

Hello,

I've been searching for something like this for a while.

Have just implemented it and am throw this error in the console:

Cannot call method 'extend' of undefined

Using asp.net, jQuery 1.9.1..

I think my iFrame cant be found, I'll update this shortly

@davidjbradshaw
Copy link
Owner

Just spotted that it depends on $ being defined globally in one place. Just added a test for this.

Fixed in version 2.2.3, give it a go and let me know if it works.

@SFPink
Copy link
Author

SFPink commented Apr 7, 2014

Okay, that seems to have done the trick. Just need to work out the initial loading height and the jobs a good one.

@davidjbradshaw
Copy link
Owner

Try setting it to zero, that way the user just sees the content when it's loading and not the iFrame.

@SFPink
Copy link
Author

SFPink commented Apr 7, 2014

My issue was asp.net, when a postback occurred it broke the events therefore nothing updated. So I have to rebind the JS after each postback. Works very well now I've worked that out.

Good job, resizing the iFrame dynamically has been the bane of my life recently.

@carol-braileanu
Copy link

Hello,

I have an asp.net page inside the iframe, and as you said, it breaks all events on postback. So after postback resizing doesn't work. How can I rebind all events after postback?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants