🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.javascript
Article #235

Re: Trouble using the comma character in a form input name

#235
From: Nils Lastein
Date: Thu, 14 Jun 2001 18:19
26 lines
2083 bytes
"Matt Kruse" <mkruse@netexpress.net> wrote in message
news:3b28fba7$0$23242@wodc7nh0.news.uu.net...
> Nils Lastein <nila@dsr.kvl.dk> wrote:
> > I've got a simple HTML-form. Unfornunately the field names is writting
> using
> > a comma like this:
> > <input type="submit" name="abc,ABC" value=" NEXT ">
>
> This is not a valid input name according to the HTML specifications. So,
you
> can't expect it to work.
>
> Why would you want to .clik() this object, anyway?
> It's a submit button. Just call the form.submit() yourself.

 There are several submit forms... nice huh?

ie:
 <FORM METHOD="GET" ACTION="cuwp_cgi">
  <INPUT name="B_X_TN,QPN1" type=submit value="  Previous  ">
  <INPUT name="B_X_TN,QPN3" type=submit value="    Next    ">
....

I want to "fake" a click on the "Next" button?

Nils
Technical Details
Message-ID: <Ye7W6.902$hi6.119562@news000.worldonline.dk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!212.54.64.131!news100.image.dk!news000.worldonline.dk.POSTED!not-for-mail
References: <u86W6.2112$VQ4.195152@news010.worldonline.dk> <3b28fba7$0$23242@wodc7nh0.news.uu.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb3cb,5db296fc6477bbaf
X-Google-Attributes: gidfb3cb,public
X-Google-Thread: f749f,5db296fc6477bbaf
X-Google-Attributes: gidf749f,public
X-Google-ArrivalTime: 2001-06-14 11:19:37 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!212.54.64.131!news100.image.dk!news000.worldonline.dk.POSTED!not-for-mail
From: "Nils Lastein" <nila@dsr.kvl.dk>
Newsgroups: comp.lang.javascript,dk.edb.internet.webdesign.clientside
References: <u86W6.2112$VQ4.195152@news010.worldonline.dk> <3b28fba7$0$23242@wodc7nh0.news.uu.net>
Subject: Re: Trouble using the comma character in a form input name
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Message-ID: <Ye7W6.902$hi6.119562@news000.worldonline.dk>
Date: Thu, 14 Jun 2001 20:19:02 +0200
NNTP-Posting-Host: 213.237.78.170
X-Complaints-To: news-abuse@wol.dk
X-Trace: news000.worldonline.dk 992542776 213.237.78.170 (Thu, 14 Jun 2001 20:19:36 MET DST)
NNTP-Posting-Date: Thu, 14 Jun 2001 20:19:36 MET DST
Organization: Customer of Tiscali A/S (World Online)