/    Sign up×
Community /Pin to ProfileBookmark

Default textbox name?

I was wondering if textboxes have a default name, or even if it is possible to access the values of unnamed textboxes with Javascript?

Basically, I need to retrieve values of an input textbox from another frame (That’s no problem), but I really don’t see how I can if the textbox has no name. I’ve searched the internet, but had no luck.

I’ll appreciate any help, thanks.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@vwphillipsJul 23.2006 — var ips=document.getElementsByTagName('INPUT');

will provide an array of <INPUTS> text, radio, and checkbox

ips[3] will be the forth on the page (JS counts from 0)
Copy linkTweet thisAlerts:
@AbstooseauthorJul 23.2006 — Thankyou [B]very[/B] much, you have just saved me a lot of time, effort and money ?
×

Success!

Help @Abstoose spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...