Solved

what is formx referring to?  (ajax)

Posted on 2012-04-06
2
203 Views
Last Modified: 2012-06-28
I recieved an answer on how to get some particular ajax to work and part of the solution was these lines:

ndxcar1 = document.forms.formx.one.selectedIndex;
car1 = document.forms.formx.one.options[ndxcar1].value;

what the heck does "formx" refer to?

Here is the code in context:
http://www.experts-exchange.com/Programming/Languages/Scripting/AJAX/Q_27664886.html#a37815202
0
Comment
Question by:NewWebDesigner
2 Comments
 
LVL 29

Accepted Solution

by:
QPR earned 500 total points
Comment Utility
in that reply, formx is the "name" of your form.

<form action="" method="" name="formx">
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
I answered you in the other question.  And QPR is right also.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now