Hello, people could help me
See if I explain:
I have an Index view that has a table and includes several times the same partial view (prev call) in the spaces of the table, each (prev.cshtml) with different size, within the partial view (prev) add a javascript method to detect the size of the main 'div' of each (prev) using the id of the main div of prev. The problem is that it seems that every partial view (prev) has no independence, because when executing, the js function always gives me the size of the first (prev), as if the function were executed once with each (prev) but in the scope of the parent view, it is like having each main div of the prev the same id the function always works on the first one, which would not happen if the partial views had something like an independent context.