I have very simple JS code to execute in my Model View:
View (I show main part where \'id\' is included):
@model IEnumerable