Learn More





Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Changed jQuery core function flawChanged jQuery core function flaw
New Post
11/4/2013 11:00 AM
New Post
11/5/2013 3:28 AM
Please report issues to the public tracker at

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
New Post
11/5/2013 9:13 AM

When you use jquery with dnn you should NOT use the $ shortcut unless you wrap the function in a no conflict type closure:

(function($) { 
// put Your jQuery code here 

The $ shortcut is used by many different frameworks that run inside javascript and it is NOT exclusive to jQuery.

As such what you are seeing is BY DESIGN in DNN.  There are any number of notes regarding this on blogs and in the dnn wiki:




New Post
11/5/2013 5:37 PM

Thanks for the advice, though I have so much $() code to wrap that it is daunting advice.

But that's not the problem.  The jQuery Forum surfaced the flaw shown below, from

this.getAttribute('userid') works. So I checked again, and $(this).attr("userid") does not. 

So, I checked what the code was for .attr()
jQuery.fn.attr is 
  1. function (n, q, o) {var m=this;if((!n)||(n!=="value")||(!g(m))){return,n,q,o)}if(q!==e){":tinymce"),q);":tinymce"),n,q,o);return m}else{var p=m[0],l=h(p);return l?l.getContent(),n,q,o)}}
But, jQuery does not have special code for tiny mce. 
You have overwritten jQuery’s core function in some minified script.

Don’t do that!

As I understand the posting, DNN has hard-coded Tiny mce into jQuery core functionality.  Not good.  Hence, my frustration.  Are you saying that the hard-coding is not a problem?


New Post
11/5/2013 6:58 PM

Which file are you seeing this code in ?  Most people let DNN use the hosted jquery from CDN - that code is not controlled by DNN - You may also want to make sure you are running the latest version of dnn - and that your jquery library config in the Host - Settings area is set to use the latest HOSTED version of jquery.


HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Changed jQuery core function flawChanged jQuery core function flaw

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?