Hi all! I've a strange errore that happens ONLY in IE7 but not in FF,
and I can't get the solution!!!.

Having an html like this:
               <td id="contentPane">
                  <span>Colonna Centrale</span>

                  <div class='pageLayout-module'>
                     <input type='hidden' class='sectionId'
value='38' />
                     <input type='hidden' class='sectionAction'
value='62' />
                     <img src='/Resources/img/32x32/miscellaneous.png'
alt='' />
                     <div class='pageLayout-module-title'>Landing</
div>
                     <div class='pageLayout-module-desc'>Tipo:
HtmlContent</div>
                  </div>
                  <div class='pageLayout-module'>
                     <input type='hidden' class='sectionId'
value='53' />
                     <input type='hidden' class='sectionAction'
value='62' />
                     <img src='/Resources/img/32x32/miscellaneous.png'
alt='' />
                     <div class='pageLayout-module-title'>Lorem Ipsum</
div>
                     <div class='pageLayout-module-desc'>Tipo:
HtmlContent</div>
                  </div>
               </td>

running the following js:
$(document).ready(function(){
   $("div.pageLayout-module").click(function(){
      showSectionActionsDialog($(this));
   });
});

function showSectionActionsDialog(el){
   // do something

   // imposta la visibilità delle voci di menu
   sectionId = $("input.sectionId", $(el)).val();
   actions = $("input.sectionAction", $(el)).val(); // HERE IE7 goes
mad!!!!!!!!!!!!!!!!!!!

   // do something
}

in the showSectionActionsDialog function IE give the error "Object
doesn't support this property or method" when trying to get the value
of the "actions" variable....

But in FF all goes well!!!!
I'm nearly desperate!!! Please, someone can help me?

Thks in advance!
MarcelloP

Reply via email to