Solved

what is formx referring to?  (ajax)

Posted on 2012-04-06
2
207 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
ID: 37815245
in that reply, formx is the "name" of your form.

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

Expert Comment

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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

839 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