I had exactly the same issue here, with Chrome:

- You check a checkbox via javascript
- Make an ajax request, then blockUI
- blockUI uncheckes you previously checked checkbox

Best regargs,

Fabiano Franz
http://fabianofranz.com



On 23 out, 21:44, Mike Alsup <mal...@gmail.com> wrote:
> What exactly is the problem you're seeing?  Could you possibly post a
> demo page somewhere?
>
> Mike
>
> On Oct 23, 10:22 am, Snooky <jsn...@gmail.com> wrote:
>
> > Alright, so I saw that this issue had been raised before, but
> > apparently never actually fixed.
>
> > I only tested it in FF andChrome.
>
> > To reproduce:
> > html:
> > <input type="checkbox" value="3" id="mycheck" />
> > <div id="return" ></div>
>
> > js:
> > $(function()
> > {
> >    $("input#mycheck").click(function()
> >    {
> >       // do something with ajax
> >    }
>
> >    $("#return").ajaxStart(function()
> >    {
> >       $.blockUI();
> >    })
> >    .ajaxStop(function()
> >    {
> >       $.unblockUI();
> >    });
>
> > }
>
> > The fix because I was in a hurry to get something done:
> >blockui.js, ~ line 265:
> > //    var events = 'mousedown mouseup keydown keypress click';
> > //    b ? $(document).bind(events, opts, handler) : $
> > (document).unbind(events, handler);

Reply via email to