I'm using the following code to refresh a menu
based on a user's access privileges.  The login
is via a modal window.

$.ajax({
          type: "POST",
          url:  "login/login_processor.cfm",
          dataType: "json",
          data: formval,
          success: function(response){

                if (response.login == "Login Successful")
                   { $('#logstatus').empty().append("Log Out");
                     $('#menu').hide();
                     $('#menu').load("includes/include_menu_index.cfm").show();
                tb_remove() }

It's performing property in FF3, but IE6 and IE7
aren't refreshing the #menu.  I have to refresh the
page manually to get the menu to display correct items.

Is there some way I can rewrite this part:

$('#menu').hide();
$('#menu').load("includes/include_menu_index.cfm").show();

or should that be sufficient.

Thanks,

Rick



Reply via email to