My code involves dynamically creating 20 questions, each requiring a dialog. This is for a mobile application utilizing jQuery Mobile, making the jquery mobile dialog functionality ideal.
I am confident that this can be accomplished, although I am unsure of the exact implementation.
<div data-role="page" id="Survey">
<div class="quest">
@Html.DisplayFor(modelItem => item.Text)<div class="quest_com">
<a href="#<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2f4b464e434048026f675b4243016b465c5f434e5669405d">[email protected]</a>(modelItem => item.Id)" data-rel="dialog" data-transition="flip">Comments</a></div>
</div>
<div data-role="page" id="dialog">
<div data-role="header">
<h1>
Dialog</h1>
</div>
<div data-role="content">
<div class="center-wrap">
<textarea style="width: 320px" title="Comments">
</textarea><a data-rel="dialog" data-role="button">Save</a>
</div>
</div>
</div>
</div>