Article View: pl.comp.lang.javascript
Article #50705Re: [jquery] Jak zrobić focus
From: Paweł Piskorz
Date: Sun, 10 Apr 2011 16:39
Date: Sun, 10 Apr 2011 16:39
22 lines
1490 bytes
1490 bytes
On 2011-04-10 11:07, hazet wrote:
> Paweł Piskorz pisze:
>> On 2011-04-08 10:36, hazet wrote:
>>> if ($.trim(this.value == '')){
>>
>> Hmmm, po co trimmujesz wynik porównania?
>
> nie wiem,
A rozumiesz w ogóle co jest w tej linijce i dlaczego jest bez sensu?
> pobrałem to z sieci.
Albo Ci CTRL+C/CTRL+V nawala, albo nie sprawdziłeś skryptu który
skopiowałeś - powinno być tak:
if ($.trim(this.value) == ''){
--
message[autor="PablO"]::after {
content:"Pozdrawiam";
}
Technical Details
Message-ID:
<insmgl$2fm$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<inmhes$i3g$1@inews.gazeta.pl> <inpv0p$2qk$1@inews.gazeta.pl> <inrrvf$sj0$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: Paweł Piskorz <nie.ma.maila@psikre.nie?> Newsgroups: pl.comp.lang.javascript Subject: Re: [jquery] Jak zrobić focus Date: Sun, 10 Apr 2011 18:39:45 +0200 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 22 Message-ID: <insmgl$2fm$1@inews.gazeta.pl> References: <inmhes$i3g$1@inews.gazeta.pl> <inpv0p$2qk$1@inews.gazeta.pl> <inrrvf$sj0$1@inews.gazeta.pl> NNTP-Posting-Host: 213-238-94-142.adsl.inetia.pl Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1302453589 2550 213.238.94.142 (10 Apr 2011 16:39:49 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Sun, 10 Apr 2011 16:39:49 +0000 (UTC) X-User: uhorek In-Reply-To: <inrrvf$sj0$1@inews.gazeta.pl> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 Hamster/2.1.0.11 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit