Hi, i have this inside in my form,my problem is that i could not get the value of the textfield having id's asset1

HTML Code:
  <form id="myform">
       <div><input type="text" name="a"></div>
      <div><input type="text" name="b"></div>
      <div><input type="text" name="c"></div>
      <div><input type="text" name="d"></div>
    
       <div>
           <div id="mytable">
                <tr>
                     <th>firstname</th>  <th>lastname</th>   <th>address</th>
                </tr>
                 <!----this is created dynamically--------->
                 <tr><td><input type="text" id="asset1"></td><td><input type="text" id="asset2"></td><td><input type="text" id="asset3"></td></tr>
                 <tr><td><input type="text" id="asset1"></td><td><input type="text" id="asset2"></td><td><input type="text" id="asset3"></td></tr>
                  <tr><td><input type="text" id="asset1"></td><td><input type="text" id="asset2"></td><td><input type="text" id="asset3"></td></tr>
          
           </div>
      </div>
 </form><!--------End of my form ------->
this is how i serialize..and i tried to alert the values.


Code:
  var allasset1 = $('#asset1').serializeArray();

   $.each(allasset1,function(n,v)({
          alert(v.value);
 });
Can you help me please on this.I am confuse...