views:

300

answers:

2

The jquery accordion throws "Invalid argument." exception in IE(mine is IE8).

It works in Firefox and chrome. What may be the problem of jquery accordion with IE?

Here is the html:

<div id="accordion">      
   <h3><a href="#">Training</a></h3>
      <div>                
        <ul style="list-style: none;">
           <li><a href="/User/Index/4">Seminar</a></li>
        </ul>
      </div>
   <h3><a href="#">Meeting</a></h3>
      <div></div>
</div>

The js to call acordion:

 $(document).ready(
   function() {
     $("#accordion").accordion();
 });

The Error throws in jquery-1.3.2.min.js:

{J[G]=K}return J[G]},trim:function(E){return(E||"")
A: 

As @mr.moses said, i have updated my jquery and ui to latest and it works well now.

Prasad
A: 

invalid argument jquery-1.3.2.min.js

then in all solutions post solutions as

step1) search return N.toUpperCase()}); in jquery-1.3.2.min.js step2) add if(K=='Infinitypx'){K=''};if(K=='NaNpx'){K=''}; after searched stmt;

actually this was a bug in jquery-1.3.2.min.js where all the scnerios were not covered.

adding this will sort out that error and it will work smoothly.

Development Head Innovative Infosolutions

Amit Patel