1

我是 asp.net mvc 4 的新手。

我有 2 个表格,标题和行表。标题表存储一个问题,行表存储答案。在此调查应用程序中,用户将输入问题,然后输入答案。用户可以添加多个答案,并且在提交之前他可以删除其中的一些。

最好的方法是什么,jquery,javascripts ......

我找不到最好的方法。

我的观点如下...

<div id="mysurvey">
    <div id="myquestion">
       -- in this section , there will be an image, and a text area
    </div>
    <div id="answers">
       <div id="answer1">
       -- in this section , there will be an image, and a text area
       </div>
       <div id="answer2">
       -- in this section , there will be an image, and a text area
       </div>
       <div id="answer3">
       -- in this section , there will be an image, and a text area
       </div>
    </div>
</div>
4

1 回答 1

0

看看Knock Out MVC 库这个例子几乎就是你想要做的。还有很多其他有据可查的在线示例和教程。

于 2012-08-04T09:45:17.720 回答