Advertisement

09.04.2008 at 12:44AM PDT, ID: 23701740
[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!

6.2

How can I use ASP and Javascript together?

Asked by priyapratheep in Active Server Pages (ASP), JScript

Tags:

How can I use ASP and Javascript together?

i have two files
1. Welcomepage.asp and
2. sarfun.js
in welcomepage.asp page, more then 10 combo box. so i write javascript function to * required  
for ex. combo box and submit button:
 (<tr>
          <td width="209"><strong>5.1 Creativity * <br><span id="SPAN_Creativity" class="fieldError"></span></strong></td>
          <td width="10"><div align="center"><strong>:</strong></div></td>
          <td width="191"><select name="cbo_Creativity" id="cbo_Creativity">
          <%for sarCount = 0 to Ubound(sarArr)-1%>
                <%if(Strcomp(sar,sarArr(sarCount))=0)then%>
                      <option value='<%=sarArr(sarCount)%>' selected><%=sarArr(sarCount)%></option>
               <%else%>
                      <option value='<%=sarArr(sarCount)%>'><%=sarArr(sarCount)%></option>
                <%End if%>
          <%next%>
          </select></td>
        </tr>
<input type="submit" name="Submit" id="Submit" value="Submit" onClick="javascript:CheckB4Submit();">) If i click the submit button, the javascript function is not working.

pls see the below javascript code. if i include the javascript file. Pls help me
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
function CheckB4Submit(){
 
	var canSubmit = true;
	//mandatory txtfields
	var mand_fields = new Array();
	mand_fields[0] = "cbo_Organ_skill";
	mand_fields[1] = "cbo_Eff_ship";
	mand_fields[2] = "cbo_Initiative";
	mand_fields[3] = "cbo_Decisiveness";
	mand_fields[4] = "cbo_Integrity";
	mand_fields[5] = "cbo_Helpfulness";
	mand_fields[6] = "cbo_Respons";
	mand_fields[7] = "cbo_Emo_maturity";
	mand_fields[8] = "cbo_Inter_skill";
	mand_fields[9] = "cbo_Comm_skill";
	mand_fields[10] = "cbo_Team_work";
	mand_fields[11] = "cbo_Creativity";
	mand_fields[12] = "cbo_Fresult";
	
	for(var g =1; g <mand_fields.length ;g++){
		var fieldname = mand_fields[g];
		var fieldvalue = document.getElementById(fieldname).value;
		if(fieldvalue == ""){
			var txtname = mand_fields[g].substring(4);
			var spanName = "SPAN_"+txtname;
			document.getElementById(spanName).innerHTML = "Required field cannot be left blank.";
			canSubmit = false;
		}
		else if(fieldvalue == fieldvalue){
			var txtname = mand_fields[g].substring(4);
			var spanName = "SPAN_"+txtname;
			document.getElementById(spanName).innerHTML = "";
			canSubmit = true;
		}
	}
	
	if(canSubmit == true){
		document.frmUpdate.submit();
	}
	
}
[+][-]09.04.2008 at 01:09AM PDT, ID: 22385028

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.

 
[+][-]09.04.2008 at 01:11AM PDT, ID: 22385040

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.

 
[+][-]09.04.2008 at 01:27AM PDT, ID: 22385102

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.

 
[+][-]09.04.2008 at 01:32AM PDT, ID: 22385125

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

Zones: Active Server Pages (ASP), JScript
Tags: ASP
Sign Up Now!
Solution Provided By: DarthSonic
Participating Experts: 1
Solution Grade: B
 
 
[+][-]09.04.2008 at 01:35AM PDT, ID: 22385142

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.

 
[+][-]09.04.2008 at 01:40AM PDT, ID: 22385166

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.

 
[+][-]09.04.2008 at 02:01AM PDT, ID: 22385290

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.

 
[+][-]09.04.2008 at 11:08PM PDT, ID: 22395656

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.

 
[+][-]09.05.2008 at 05:14AM PDT, ID: 22397808

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

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

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