jquery - Give a name dynamically to controls -


On a page I use a jQuery UI tab In many tabs, some parts are the same, then I have a partial view Make me This partial view calls multiple times on the same page because the tabs are divisions on the same page. Then I have to distinguish between control.

In partial view, I have this: @html Textbox ("microntrol");

I want to give Tab 2 this control: tabs0MyControl

I want to give this control to tab 1: tabs1MyControl

I need to differentiate it Because I do some work with jQuery.

You have to give a prefix in partial view, then use it to use the ID, it See the question:



Comments