Article View: pl.comp.lang.javascript
Article #50815Re: przypisanie wartości a href do form input.value
From: zpksoft
Date: Sun, 26 Jun 2011 07:51
Date: Sun, 26 Jun 2011 07:51
14 lines
1641 bytes
1641 bytes
On 25 Cze, 11:52, dEXTER <piekard1...@gazeta.pl> wrote:
> Witam,
>
> Mam prośbę, nie znam się tak bardzo na JS, potrzebuję zrobić tak by
> wartość a href była wstawiana spowrotem jako value pola input. Dalej już
> z formularzem sobie poradzę. Nie wiem co zawrzeć w funkcji którą
> nazwałem changeSrv().
>
> Oto kod:.......
document.getElementById('xx').setAttribute('href', jakisInput.value);
Paweł
Technical Details
Message-ID:
<f2f461ab-459b-4426-b2dd-09524404ee7e@28g2000yqu.googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!postnews.google.com!28g2000yqu.googlegroups.com!not-for-mailReferences:
<iu4b4i$g4k$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!postnews.google.com!28g2000yqu.googlegroups.com!not-for-mail From: zpksoft <zpksoft@op.pl> Newsgroups: pl.comp.lang.javascript Subject: Re: przypisanie wartości a href do form input.value Date: Sun, 26 Jun 2011 00:51:47 -0700 (PDT) Organization: http://groups.google.com Lines: 16 Message-ID: <f2f461ab-459b-4426-b2dd-09524404ee7e@28g2000yqu.googlegroups.com> References: <iu4b4i$g4k$1@inews.gazeta.pl> NNTP-Posting-Host: 83.15.210.85 Mime-Version: 1.0 X-Trace: posting.google.com 1309074707 4244 127.0.0.1 (26 Jun 2011 07:51:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 26 Jun 2011 07:51:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 28g2000yqu.googlegroups.com; posting-host=83.15.210.85; posting-account=8ND_mgoAAAD5J9y9fnaTB1Kcu7xKWk7Q User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit