开发者

Placing of jQuery initialization scripts with Ajax.BeginForm and partialView?

In a partial view with an MVC Ajax.BeginForm, where s开发者_高级运维hould I ideally place javascripts like for assigning datepickers? I realize that when I return PartialView("theview") everything before the BeginForm is also returned. So should I move the inside the Ajax.BeginForm or what's it's best place?


Things like setting datepickers etc that are modifying the form contents I would normally place just before the end of the relevant form.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜