views:

245

answers:

0

I've checked this link, but I do want to know what if I don't update jquery version to 1.3 (current 1.2.6) and change my js code, which part of my code should be changed?

var cnt=($("input[name*='cntidd']").size())-1; 
var in_id=$("input[name*='iId']").eq(cnt).val(); 
var fee=$('#total').val();

$("input[id*='item_no]").each(function (i) {
       var id = parseInt(this.id.replace("item_no", ""));
     var item_no=$("#item_no" + id).val();
     var item_id=$("#item_id" + id).val();
     count=i; 

     });

var count="";
 $('#tran_pd_count').val(count);

..............

all input field are hidden type

when I click the button , only IE8 show object expect error, and my current jquery version is 1.2.6 , what if I don't updade to 1.3?is it possible to execute this function on IE8?