English 中文(简体)
j Query Valid 每一规则的单一信息
原标题:jQuery Validation Single Message for each rule

I have an application with several input fields that have the required jQuery validation rule.

如果这些领域无效,我只想强调它们,但我只想发出一个要求张贴在网页上的信息。

我在上页上用<代码>errorLabelContainer属性表示电文。

限制每一规则只显示单一信息的最佳方式是什么?

问题回答

在处理所提交投入的确认时,你可以产生新的优势,每次都出现一个验证错误,以证明每个投入领域的验证错误。 然后,将错误的“LabelContainer”的内在面值确定下来。





相关问题
Personalized Welcome Messages

How do I create a welcome message on my home page with user s name in it? Dragging dynamic fields from the recordset onto my page does not work: <cfoutput>#Recordset1.Username#</cfoutput>...

how do i get mysql warning messages in php (not error)

i want to execute a sql at php which does something like changing a text column into int column. however, this sql failed to fun at php and succeeds in my mysql admin tool (sqlyog). server responses "...

jQuery queue messages

I ve got a short function that should show messages on a website. function showHint() { $( #notify ).html( message text ).show( slide , {direction: right }, 500); } And there is another ...

C++ message passing doubts

I m writing a piece of sotware that needs objects that exchange messages between each other. The messages have to have the following contents: Peer *srcPeer; const char* msgText; void* payload; int ...

How to find out if a thread has message queue?

Is there any way to find out from threadId , if a thread has message queue or not? Basically there are some windows api which only work if a thread has message queue.window

keyboard hook in windows C++ or what?

I wish to build my own application which can send keyboard commands(messages) to the Windows OS. For example when I press the combination ctrl+shift+n, I wish to launch the notepad.exe . How can I ...

Handling multiple windows WIN32 API

HI I m trying to create an application in the Win32 environment containing more than one window. How do i do that? all the Win32 Tutorials on web i found only showed how to manage one window. How do i ...

热门标签