Hello Mark. Thanks for responding. It still doesnt work. (jQuery 1.2.6
with IE 6.0 sp2 for XP)
When I run it like this I get the error "Microsoft JScript runtime
error: Object doesn't support this property or method" in jQuery.js
"jQuery.readyList.push(function(){return fn.call(this,jQuery);})"

if I run it with the "each" function - I get no error (how come???)
but nothing done
Here is what I'm working with - please have a look.  Thanks in
advance  Have a nice day  Gil Yoktan

<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script type="text/javascript" src="jquery.js"> </script>

<script type="text/javascript">
    if ($.browser.msie && !$.props.tabindex) $.props.tabindex =
'tabIndex';
    $(document).ready(
      $(':input').attr('tabindex', -1));


//function() {
//  // set tabs
//  //alert('JQ');
//  $(':input').each(
//                 function() {
//                     //alert(this.id);
//                     $(this).attr('tabindex', -1);
//                 }
//               );
//}
//)

</script>

<html xmlns="http://www.w3.org/1999/xhtml"; >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <table style="width: 367px" dir="rtl" id="myTbl">
        <tr>
          <td>
            <asp:TextBox ID="tb1_1" runat="server" TabIndex="1" >13</
asp:TextBox></td>
          <td>
            <asp:TextBox ID="tb1_2" runat="server"  >12</asp:TextBox></
td>
          <td>
            <asp:TextBox ID="tb1_3" runat="server"  >11</asp:TextBox></
td>
        </tr>
        <tr>
          <td>
            <asp:TextBox ID="tb2_1" runat="server" >23</asp:TextBox></
td>
          <td>
            <asp:TextBox ID="tb2_2" runat="server"  >22</asp:TextBox></
td>
          <td>
            <asp:TextBox ID="tb2_3" runat="server" >21</asp:TextBox></
td>
        </tr>
        <tr>
          <td>
            <asp:TextBox ID="tb3_1" runat="server"  TabIndex="3" >33</
asp:TextBox></td>
          <td>
            <asp:TextBox ID="tb3_2" runat="server"  >32</asp:TextBox></
td>
          <td>
            <asp:TextBox ID="tb3_3" runat="server"  >31</asp:TextBox></
td>
        </tr>
        <tr>
          <td>
            <asp:TextBox ID="tb4_1" runat="server"  >43</asp:TextBox></
td>
          <td>
            <asp:TextBox ID="tb4_2" runat="server"  >42</asp:TextBox></
td>
          <td>
            <asp:TextBox ID="tb4_3" runat="server"  >41</asp:TextBox></
td>
        </tr>
      </table>

      </div>
    </form>
</body>
</html>

Reply via email to