Rick,

Is #menu empty to start with?  If not, you might want to change your
code to:

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

Another think to consider is whether IE is actually getting back the
json data correctly.  You might want to examine the response using
Fiddler or another similar tool.

HTH,
Carl

On Jan 8, 2:08 pm, "Rick Faircloth" <r...@whitestonemedia.com> wrote:
> Anyone have any ideas on this?
>
>
>
> > 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