Coder Social home page Coder Social logo

Comments (3)

dominicbarnes avatar dominicbarnes commented on July 30, 2024

Hi there, sorry it took so long to respond to this!

In any case, I was able to recreate the problem you are referring to. Upon further research, I actually found out that this is a bug in jQuery UI itself. (see: http://bugs.jqueryui.com/ticket/3611)

I'm going to take some time to look into this, but even if I submit a patch to jQuery UI, it's unlikely it'll be released in the very near future, since I believe they just released a new version in the past few weeks.

Also, I am running Linux as my primary OS, so it's very difficult for me to diagnose the exact source of the problem since it's IE-specific. Any technical information you may have available would help immensely.

Thanks for using jWizard, I'm glad it's proven useful for you. :)

from jwizard.

ivoloshin avatar ivoloshin commented on July 30, 2024

Dominic,

Thanks for the response. As a workaround I added the following:

_restoreRadioButtons: function() {
if ( $.browser.msie &amp;&amp; $.browser.version < 8 )
{
$.each($(':radio'), function(index, domElem) {
var newRadioButton = $(domElem).clone(true);
$(domElem).replaceWith(newRadioButton);
});
}
},

I then called it inside _changeStep after self._effect(nextStep, "step", "show", "show");

This is based on IE6 adn 7 not being able to change attributes on dynamically created elements. I cannot find the exact link talking about it, but I believe that's the real issue...

Thanks!
Ilya

from jwizard.

dominicbarnes avatar dominicbarnes commented on July 30, 2024

So, I decided to be thorough, and I went to investigate this and hopefully submit a patch to jquery/ui in the end.

However, I actually came to discover that this is actually a bug in IE6/7 with their implementation of appendChild. It clears checkboxes and radio buttons whenever they are passed through appendChild.

It looks like this has been seen in other bug reports within both jQuery and jQuery UI, and the consensus has been that this is too obscure of an edge-case to put into jQuery itself.

Sorry about that, looks like your workaround function will have to do. :P

from jwizard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.