⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Use of select2 in same page as grocery crud throws error: "select2 is not a function"



Sergi Tur Badenas

Sergi Tur Badenas
  • profile picture
  • Member

Posted 09 March 2014 - 17:01 PM

Anyone have expirience using select2:

 

http://ivaynberg.github.io/select2/

 

In same page as grocery crud. For some reason I don't understand select2 2 is not working throwing error:

 

"select2 is not a function"

 

if i not render grocery crud select2 starts working again.

 

Best Regards,

 

Sergi Tur


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 10 March 2014 - 05:05 AM

checkout on the firebug console ... you might be getting in some error...

If so, it wont function...

Secondly how are you setting the js /css files in the grocery crud for the same? it there is any problem / troublke with that.. then it wont function properly.

Best 1 will be to check firebug console ... and make sure that the said js is loaded properly.