Skip to content Skip to sidebar Skip to footer

Javascript Native Method Throws Unexpectedly Exception

I am updating a vaadin project from vaadin 6 version to vaadin 7. It contains some native Javascript methods which work well in the old version. However some of them throw an excep

Solution 1:

Seems like jQuery alias $ is not defined in the global scope (denoted by $wnd). Are you sure your page includes jQuery?

You should have something like <script src="/js/jquery.js" type="text/javascript"></script> (but pointing to the actual location of jquery.js in your project) in your HTML source. I don't know if Vaadin manages JavaScript libraries automatically, since I'm not familiar with the framework.

Post a Comment for "Javascript Native Method Throws Unexpectedly Exception"