🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #50670

Re: jquery validation w funkcji

#50670
From: G.K.
Date: Thu, 24 Mar 2011 20:29
21 lines
1442 bytes
W dniu 2011-03-24 20:47, aaaa pisze:
> $("#myform").validate({
> submitHandler: function(form) {
> validForm();
> $(form).submit();
> }
> });
>
> O to chodzi?
>

Nie bardzo. Chodzi o to, że mam swoją funkcję i czy można w tej mojej 
funkcji w jakiś sposób użyć validację z pluginu validation?
Bo tak to w swojej własnej funkcji powiedzmy
function valForm() {

[tu chce jakos uzyc validacji]

}

musze pisac od nowa cala obsluge pol formularza.
Technical Details
Message-ID: <img9im$gbb$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <img2tm$juo$1@inews.gazeta.pl> <4d8b9fbe$0$2445$65785112@news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: "G.K." <"tertb69[rot13]"@tnmrgn.cy>
Newsgroups: pl.comp.lang.javascript
Subject: Re: jquery validation w funkcji
Date: Thu, 24 Mar 2011 21:29:14 +0100
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 21
Message-ID: <img9im$gbb$1@inews.gazeta.pl>
References: <img2tm$juo$1@inews.gazeta.pl> <4d8b9fbe$0$2445$65785112@news.neostrada.pl>
Reply-To: "tertb69[rot13]"@tnmrgn.cy
NNTP-Posting-Host: cable194106211-134.astral.lodz.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1300998550 16747 194.106.211.134 (24 Mar 2011 20:29:10 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Thu, 24 Mar 2011 20:29:10 +0000 (UTC)
X-User: grego69
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
In-Reply-To: <4d8b9fbe$0$2445$65785112@news.neostrada.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit