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

Plugin "contentToAppend" throws an error. #12

Closed
teckays opened this issue May 25, 2013 · 2 comments
Closed

Plugin "contentToAppend" throws an error. #12

teckays opened this issue May 25, 2013 · 2 comments
Labels

Comments

@teckays
Copy link

teckays commented May 25, 2013

When trying to append an element into the grid, the following error is thrown:
Uncaught TypeError: Object {selector} has no method 'filter'.

@brandpeter
Copy link

I noticed this when I passed a string as the argument instead of a JQuery selection. Try this in the format:
$('#container').freetile({contentToAppend: $('#newelement')});

@yconst yconst added the bug label Feb 8, 2014
@yconst
Copy link
Owner

yconst commented Feb 8, 2014

contentToAppend should always be used with a jQuery object. It is in "selector" that you may have either strings or jQuery objects

@yconst yconst closed this as completed Feb 8, 2014
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