jquery - Editing with a Dynamically generated table rows with html input controls -
I am using the code below to generate dynamically control and include their value in the database And it's working perfectly well. The problem is that I want to sue the same view to return and update the records.
@for (var i = 0; i x attribute [name] i gt; td class = "true" gt; @ html textbox (x = & gt; x.Attribute_SortOrder [I]) & lt; td class = "left">
Junkies:
var attribute_row = 1; function adapter () {html = '& lt; tbody id = "attribute-line' + attribute_ro + '" & gt;'; html = '& Lt; tr & gt;'; HTML + = ' @ html.textboxfor (x => x.AttributeName) & lt; div class = "verification Field "& gt; @ html.ValidationMessageFor (x = & gt; x AttributeName) & lt; / div & gt; & lt; / td & gt; '; Html + =' & lt; td class =" true "> ;; HTML + = '
< / Div>
Comments
Post a Comment