HI

Can anyone advice me on this problem.

i'm creating a tagging system.  in my model (model1) it creates a row of documents by calling another model (model2) ive created a jquery script in modal1 which sets the tag(img) on n off in each row of the document. is there a way i can retrieve the document id from the documents using jquery n updating the documents wth the tags.


model 2
<%: html.DisplayFor(m=>m.id) %>

       <% if (!Model.IsLoadViaDialog) { %> 
   
        <%: Html.DisplayFor(m=>m.Owner) %>       
      
        <% } %>  
   
         <%: Html.DisplayFor(m=>m.Date) %>      
            




model 1

              
            <% foreach (var d in Model.Rows)
               { %>
              
                    <%: Html.DisplayFor(m => d, new { divId, parentId = Model.ParentId })%>
           
            <% } %>

       

//in my script its smthing like