🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: przypisanie wartości a href do form input.value

#50814
From: zpksoft
Date: Sun, 26 Jun 2011 07:47
13 lines
1627 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: <9ba40382-ec38-4c93-838b-1989006457b4@q1g2000vbj.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!goblin1!goblin.stu.neva.ru!postnews.google.com!q1g2000vbj.googlegroups.com!not-for-mail
References: <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!news.nask.pl!news.nask.org.pl!goblin1!goblin.stu.neva.ru!postnews.google.com!q1g2000vbj.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:47:28 -0700 (PDT)
Organization: http://groups.google.com
Lines: 16
Message-ID: <9ba40382-ec38-4c93-838b-1989006457b4@q1g2000vbj.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 1309074448 1620 127.0.0.1 (26 Jun 2011 07:47:28 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 26 Jun 2011 07:47:28 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: q1g2000vbj.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: UHALERCNK
X-HTTP-UserAgent: Opera/9.80 (Windows NT 6.1; U; Edition Campaign 21; pl) Presto/2.8.131 Version/11.11,gzip(gfe)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit