asp.net mvc - How to get the textbox values which are generated dynamically using razor? -


    <tr>         @foreach (string s in "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15".split(','))         {                <td>@html.textbox("time","")             </td>             <p>             </p>          }     </tr> 

how values textboxes created above using either javascript or jquery. kindly assist me

here is:

$('input[name=time]').each(function(index, element){     var txtvalue = element.value; }); 

Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

java - stack overflow exception on xml transformation -