Advertisement

01.19.2005 at 01:28PM PST, ID: 21280953
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.0

Function is not Running on the onChange Event of a Select combo box

Asked by RDWaibel in JavaScript

Tags: , , ,

I have the following function:
            <script language="javascript"><!--
function UpdateResult(oList1, inMCLID, inLSID, oLabel)
{
alert(oList1.options[oList1.selectedIndex].value & ", " & inMCLID & ", " & inLSID & ", " & oLable.name)
var sql, RecAffect
var conn = Server.CreateObject("ADODB.CONNECTION");
conn.Open("Provider=SQLOLEDB;User ID=ilx;password=webuser!;Initial Catalog=LeadsMaster;Data Source=ilx2ksql");
sql =  "web_os_UpdateCallResult " & oList1.options[oList1.selectedIndex].value &", " & inMCLID & ", " & inLSID;
conn.Execute(sql,RecAffect);
conn.Close;
if (RecAffect>0) {
      oLabel.value = "Updated!";
      } else {
      oLabel.value = inMCLID;
      }
}
//--></script>
Located in the <head> tag of my web page.  I have a combo Box I create that is like so with a following Textbox:
<Select id='ResultsCBO1' onchange='UpdateResult(this,987594, 1637, this.form.txtUpdate1);'>
<option Value = 17>Bad Address (Mail Only)</Option>
<option Value = 7>Business phone</Option>
<option Value = 10>Call Back</Option>
<option Value = 5>Disconnected</Option>
<option Value = 1>Do not call</Option>
<option Value = 6>Fax number</Option>
<option Value = 0 SELECTED >Has not been called</Option>
<option Value = 3>Not interested</Option>
<option Value = 4>Not Qualified</Option>
<option Value = 13>NQ Over Age</Option>
<option Value = 16>NQ Owner</Option>
<option Value = 15>NQ Toured Before</Option>
<option Value = 8>Reservation</Option>
<option Value = 12>Spanish Speaking</Option>
<option Value = 14>Wrong Area Code</Option>
<option Value = 11>Wrong Name for Phone</Option>
</Select>
<INPUT disabled readOnly type=text maxLength=10 size=10 Name=txtUpdate1>

why, when I change the value does it not run the Javascript function?
Start Free Trial
 
Loading Advertisement...
 
[+][-]01.19.2005 at 01:29PM PST, ID: 13087379

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.19.2005 at 01:30PM PST, ID: 13087390

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.19.2005 at 01:31PM PST, ID: 13087402

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: JavaScript
Tags: function, javascript, onchange, running
Sign Up Now!
Solution Provided By: knightEknight
Participating Experts: 2
Solution Grade: A
 
 
[+][-]01.19.2005 at 01:31PM PST, ID: 13087407

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.19.2005 at 01:33PM PST, ID: 13087424

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.19.2005 at 01:33PM PST, ID: 13087438

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]01.19.2005 at 01:34PM PST, ID: 13087447

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.19.2005 at 02:13PM PST, ID: 13087907

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.19.2005 at 02:15PM PST, ID: 13087932

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.19.2005 at 02:16PM PST, ID: 13087947

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.19.2005 at 02:17PM PST, ID: 13087953

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.19.2005 at 02:18PM PST, ID: 13087959

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32