I have a list $('[name="lijst"]') which is working perfectly. If I do $('[name="lijst"]').prop('outerHTML') I get the correct html with the ul tags included.
Now when I do $('[name="lijst"]').empty(), I get this javascript error from appery.js:
TypeError: context is undefined
[Break On This Error]
elem = context.find("[dsid='" + name + "'], " +
appery.js (line 396)
Do you have more information about this?