Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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...Upgrading DNN P...Upgrading DNN P...Change in "onclick" behaviour with form from DNN6 to DNN7Change in "onclick" behaviour with form from DNN6 to DNN7
Previous
 
Next
New Post
4/1/2013 5:19 PM
 

I recently did a trial upgrade of a copy of my production site www.AgingSafely.com on my localhost so see what issues came up. I had to make considerable changes to the "Master Reset" in my skin's skin.css file, as expected.  While testing the site with these changes, I was "clicking" the checkboxes in my search form an noticed that I was getting the WRONG number of record returned for the combination of boxes checked.  It "looked" as if I was one Ajax request for a new "MS SQL Select" behind current state of what was checked on the complex form! This problem was visible with FireFox, IE,and Chrome -- while Safari got the same results with both DNN6 and DNN7.

All of the code worked on DNN6.1.5 and failed the minute that the DNN7.0.4 upgrade was done.  The problem was troubleshot by a friend who said that with DNN7
"I added a breakpoint into the code in your uncheck function, as well as the ows.Fetch function in the new site. At the breakpoint I executed "jQuery('[name=fltAFH]').is(':checked')", which returned "false". This is contrary to what happens on your DNN6.1.5 site, as it returns "true" when the onclick was fired. The reason you are seeing this issue only in certain browsers is due to the order of handling of the event. jQuery is apparently overriding the onclick behavior, and causing it to operate in ECMA standards, which is - onClick occurs at the moment an element is clicked, where onchange is fired at the moment a form element value is changed."

I was able to "fix" the problem, by changing all  "onclick" event to "onchange" events.

Is this change in behavior between DNN6 and DNN7 expected, or a bug?

/Dave Snow


/Dave S
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Change in "onclick" behaviour with form from DNN6 to DNN7Change in "onclick" behaviour with form from DNN6 to DNN7


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out