[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

what is formx referring to? (ajax)

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
NewWebDesigner
Asked:
NewWebDesigner
1 Solution
 
QPRCommented:
in that reply, formx is the "name" of your form.

<form action="" method="" name="formx">
0
 
Dave BaldwinFixer of ProblemsCommented:
I answered you in the other question.  And QPR is right also.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now