English 中文(简体)
以超文本纽扣为名义的财产
原标题:Are dots legal in the name property of an HTML button

a page with abit of MVC Code:

<%=Html.SubmitButton("ChooseWebinar.Submit", "Continue to Registration Details")%><br/>

从而产生投入。 姓名如下:

<input id="ChooseWebinar_Submit" name="Webinar.Submit" type="submit" value="Continue" />

在上页上,这种控制(提交纽特州)是隐蔽的,在两个不同的下级中,有一对价值进行了登记,但纽伦显示:

function toggleChooseWebinarSubmit() {
if ($("#ChooseWebinar_RecordedWebinarId").val() || $("#ChooseWebinar_UpcomingWebinarId").val()) {
    $("#ChooseWebinar_Submit").show();
} else {
    $("#ChooseWebinar_Submit").hide();
}

我刚刚收到一名国际E8用户的一份报告,该用户说,在选择下降价值之后,纽芬兰没有显示。 我可以照搬这一条件(即也尝试了兼容模式)。

显然,淋浴/杀手是以国际发展学会的甄选者为对象,但我可以帮助,但想知道控制点名称中的这一期限。

任何已知的问题? - 或者也许,变化是有问题的,从来就没有:

$(window).load(function() {
    toggleChooseWebinarSubmit();
    $("#ChooseWebinar_UpcomingWebinarId").change(function() {
        if ($(this).val()) {
            $("#ChooseWebinar_RecordedWebinarId").val("");
        }
        toggleChooseWebinarSubmit();
    });
    $("#ChooseWebinar_RecordedWebinarId").change(function() {
        if ($(this).val()) {
            $("#ChooseWebinar_UpcomingWebinarId").val("");
        }
        toggleChooseWebinarSubmit();
    });
});

th

最佳回答

input name属性是cdata,这意味着任何能够用超文本文件读取的特性都可以在其中。 <代码>:当然是允许的。

我认为,唯一含糊不清的问题是,歌剧不会把“预先记住的”价值重新放在形式上(当你通过后台进入一页,但bcache没有投入使用时),直到对窗户的停电行动发生之后。 国际电算中心在装满了多功能元素后,将铭记价值;其他浏览器则将其直接投放,因为它们的成分被捆绑。 因此,如果你想要在装货过程中尽可能纠正纽托尼的隐蔽性,那么你必须做以下的工作:toggleChooseWebinar Submit。 立即检查一次,一旦文件准备好,一度在卸载后进行。 (大多数人没有这样做。) 操作行为可能被视为一种ug。

也许不十分有益,令人不安。 如同它一样,它会以如此之少的信息来欺骗......。

问题回答

如果你试图读到服务器方面的投入值,则该信标将自动取而代之。

例如

<form action="/dot.php">
<input type="text" name="a.b" value="c">
</form>

得出以下结论:

/dot.php?a_b=c




相关问题
WebForms and ASP.NET MVC co-existence

I am trying to make a WebForms project and ASP.NET MVC per this question. One of the things I ve done to make that happen is that I added a namespaces node to the WebForms web.config: <pages ...

Post back complex object from client side

I m using ASP.NET MVC and Entity Framework. I m going to pass a complex entity to the client side and allow the user to modify it, and post it back to the controller. But I don t know how to do that ...

Create an incremental placeholder in NHaml

What I want to reach is a way to add a script and style placeholder in my master. They will include my initial site.css and jquery.js files. Each haml page or partial can then add their own required ...

asp.net mvc automapper parsing

let s say we have something like this public class Person { public string Name {get; set;} public Country Country {get; set;} } public class PersonViewModel { public Person Person {get; ...

structureMap mocks stub help

I have an BLL that does validation on user input then inserts a parent(PorEO) and then inserts children(PorBoxEO). So there are two calls to the same InsertJCDC. One like this=>InsertJCDC(fakePor)...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

热门标签