Hi,

I've got one problem regarding jQuery which is to get it working with
asp:MultiView control. As you probably know (or not), asp:MultiView is
a special control which takes care of tabbed views. My company uses a
lot of these and the problem is like that:

I have a JavaScript function for showing help-boxes to the user, which
looks like this:

$(function()
{
  $("#helpbox").hide();

  $("#helplink").click(function() {
      if ("#helpbox").css('display') == 'none')
         $("#helpbox").fadeIn();
      else
         $("#helpbox").fadeOut();
  });

  $(".close").click(function() {
      if ("#helpbox").css('display') == 'block')
         $("#helpbox").fadeOut();
  });
});

It works when document loads, but when I go to the other view in
MultiView and then back, the $(document).ready event isn't fired and
though -- everything dies miserably...

Any help?

Cheers,
M.

Reply via email to