0

シナリオは -

bnm () function is to be called for first time and resultObject constructed .

Later on , item function is to be called dynamically .

This function get called successfully  in IE 7 .

but not in IE 8 ,  9 ,  10 .

Please suggest any solution  .

/////////////////////////////////////////////// /

   function bnm(xmlData)
   {     
       this.item = function (recordno, itemname)
       {
         // some code
          return result;
       }

       return this;
   }

// ここで上記の関数を呼び出しています

       resultObject = bnm(anyData);

       text1.value = resultObject.item(8, 'Policy1');
       text2.value = resultObject.item(6, 'Policy4');
       text3.value = resultObject.item(2, 'Policy8');
4

0 に答える 0