|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[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.
Your Input Matters 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! |
||
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: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7" />
<title>Untitled Document</title>
<cfparam name="PageNum_WADAdboartikel" default="1">
<cfquery name="WADAdboartikel" datasource="#request.dsn#">
SELECT a.Art_ID,a.Price,a.mobile_sub_id
FROM artikel a
</cfquery>
<cfset MaxRows_WADAdboartikel="10">
<cfset StartRow_WADAdboartikel=Min((PageNum_WADAdboartikel-1)*MaxRows_WADAdboartikel+1,Max(WADAdboartikel.RecordCount,1))>
<cfset EndRow_WADAdboartikel=Min(StartRow_WADAdboartikel+MaxRows_WADAdboartikel-1,WADAdboartikel.RecordCount)>
<cfset TotalPages_WADAdboartikel=Ceiling(WADAdboartikel.RecordCount/MaxRows_WADAdboartikel)>
<cfset QueryString_WADAdboartikel = Iif(len(trim(CGI.QUERY_STRING)), DE("&" & trim(CGI.QUERY_STRING)), DE(""))>
<cfset tempPos=ListContainsNoCase(QueryString_WADAdboartikel,"PageNum_WADAdboartikel=","&")>
<script type="text/javascript">
// check all function
function CheckAll(v, state)
{
var c = document.getElementsByName(v);
for( var i=0; i < c.length; ++i)
{
c[i].checked=state;
}
}
// End check all
function popchosentovergleich(){
// declare your array
var idArray = new Array();
// Then we loop through your table, and get the
// id's of the rows that have been ticked
var cbs = document.getElementsByName("Art_ID");
for(var i=0; i<cbs.length; i++) if(cbs[i].checked) idArray.push(cbs[i].value);
//idArray.length === number of "checked" checkboxes
if(idArray.length === 0){
alert("Bitte, Wahlen Sie ein Fahrzeug!");
return;
}
// Convert you array to a string
var arrayString = idArray.toString();
//here we are attempting to change the action
document.setmyform.action = "test.cfm?Art_IDList=" + arrayString;
//then we are submitting the form which should be to the above.
document.setmyform.submit();
}
</script>
</head>
<body><table>
<cfoutput query="WADAdboartikel" startRow="#StartRow_WADAdboartikel#" maxRows="#MaxRows_WADAdboartikel#">
<tr>
<td><input type="checkbox" name="Art_ID" id="checkybox_#currentrow#" value="#WADAdboartikel.Art_ID#"/></td>
<td>#WADAdboartikel.art_id#</td>
<td>#WADAdboartikel.mobile_sub_id#</td>
</tr>
</cfoutput>
<tr>
<tr><td><input name="cfinput" type="checkbox" value="" onClick="CheckAll('Art_ID', this.checked)" /></td>
<td colspan="2"> </td>
<td> </td>
<td colspan="2"><a href="#" onClick="popchosentovergleich();">send checked</td></tr>
</table>
<form method="post" name="setmyform" id="setmyform">
</form>
</body>
</html>
|
Advertisement
| Hall of Fame |