custom control or UserControl vs 3rd party javascript library as e.g. jQuery

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
JS-Support
Site Admin
Posts: 787
Joined: Tue Apr 08, 2014 3:42 pm

Re: custom control or UserControl vs 3rd party javascript library as e.g. jQuery

Postby JS-Support » Tue Oct 17, 2017 7:26 am

Hi,

In your code, you have:

Code: Select all

text: '$0'


It should be changed to:

Code: Select all

text: $0


In fact, $0 is a variable, so putting the quotes would be the same as putting a variable inside quotes.

To help understand what happens and debug, I recommend you to use the Development Tools of your browser (Chrome for example) by pressing F12. Then, you can look at the generated JavaScript code by going to the "Source" tab. You can even place breakpoints and debug from there.

Regards,
JS-Support


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests

 

 

cron