阅读背景:

根据单击的按钮将相同的表单发布到不同的操作

来源:互联网 

I have a similar post on this on StackOverflow but perhaps my misunderstanding is more substantial. I have an action Index() and an Index view its rendering. From Index() view depending on the button clicked [HttpPost]Index() or [HttpPost]Search() must be called cause I'm posting some data. Is the only way to post to different actions is by using jQuery ? If jQuery is the only way, if my actions return views(complete Html pages), to I have to clean the whole document element from the $.post and fill it up with my views html ? I'm pretty new to all this, thanks a ton! I have a similar post on this on StackOverflow




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: