Is it possible that IE7 & 8 see "html" as a reserved word ?

Try changing the hmtl variable in both function(html) and $('#nav_admin').html(html) to something else

L

brian wrote:
On Thu, May 14, 2009 at 10:14 PM, brian <bally.z...@gmail.com> wrote:
I have a wee bit of code that handles a select list change to load
some content via AJAX. In IE 7 & 8 (works a treat in 6!), clicking on
the select list triggers the pop-up blocker thingy. My code certainly
does not open a new window or anything like that:

$('#group_nav').change(function()
{
       var group_id = $(this).val();

       $.ajax({
               url:
                       '/admin/sections/alternative_nodes/' + group_id,
               success:
                       function(html)
                       {
                               $('#nav_admin').html(html);

                               /* re-bind everything
                                */
                               adminNavSetup();
                       }
       });
       return false;
});

adminNavSetup() is the function this block of code resides in.
However, commenting that out has no effect. Note that the select list
doesn't even open; a click is all it takes. Also, no request is made
to the server.

Anyone have an idea why the pop-up defense would be triggered like that?


I forgot to mention that IE says, "To see this pop-up or additional
options click here..." However, there's no way to "see this pop-up"
(which would be nice for debugging because I'd like to know where it's
coming from) and I've set the option to "Turn off pop-up blocker".
However, it continues to badger me with this thing.

~sigh~ Has Firefox reached 75% market share yet? I'm so sick of this crap.
------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.5.329 / Virus Database: 270.12.31/2116 - Release Date: 05/15/09 06:16:00


Reply via email to