Advertisement
Advertisement
| 06.13.2008 at 11:53AM PDT, ID: 23483765 |
|
[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: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: |
<script type="text/javascript">
$(document).ready(function()
{
var sRefNos = "";
var myList = showShortList();
for(var x=0; x<myList.length; x++)
{
sRefNos += "," + myList[x].id ;
}
sRefNos = sRefNos.substr(1);
var sQuery = "SF1=keyword&ST1="+sRefNos;
repopulateList();
listViewer("#listDisplay");
});
function listViewer(listID)
{
$(listID).flexigrid
({
url: 'list_proxy.asp?a=results',
colModel : [
{display: ' ', name : 'chkDelete', width : 30, sortable : false, align: 'left'},
//{display: '<input type="checkbox" name="chkAll" onclick="checkAll(this.checked)"/> All', width : 30},
{display: 'Notes', name : 'notes', width : 50, sortable : false, align: 'left'},
{display: 'Contact ', name : 'pe_rev_name', width : 150, sortable : true, align: 'left'},
{display: 'Compnay Name ', name : 'co_name', width : 200, sortable : true, align: 'left'},
{display: 'Flag ', name : 'action_flag', width : 150, sortable : true, align: 'left'},
{display: 'Group ', name : 'co_group', width : 200, sortable : true, align: 'left'}
],
buttons : [
{name: 'Delete', bclass: 'delete', onpress : test},
// {name: 'Select All', bclass: 'add', onpress : test},
//{name: 'DeSelect All', bclass: 'delete', onpress : test}
],
sortname: '',
sortorder: 'asc',
usepager: false,
title: 'List Manager - Titles',
useRp: true,
rp: 1000,
query : sQuery+'&Fields=ref_no,notes,pe_rev_name,co_name,action_flag,co_group',
showTableToggleBtn: true,
width: 760,
height: 350,
onSuccess:function()
{
$(".edit_area").editable(
function(value, settings) { return(value); },
{
submit : "OK",
indicator : "process..........",
tooltip : "Click to edit...",
style : "inherit",
callback : function (value, settings){if ($(this).hasClass('trSelected')){alert('selected');} }
}
);
}
});
}
function test(com,grid)
{
if (com=='Delete')
{
if($('.trSelected',grid).length <= 0){ alert('You have not selected any item.');
}else{
if(confirm('Do you want to delete the selected ' + $('.trSelected',grid).length + ' item(s)?')){
var items = $('.trSelected',grid);
var itemlist ='';
for(i=0;i<items.length;i++){
//itemlist+= items[i].id.substr(3)+",";
// $(".chkRefNos").checked();
removeShortList("shortlist", items[i].id.substr(3));
}
window.location.reload(true);
$("#listDisplay").flexReload();
}}
}
else if (com=='Select All'){
$('.bDiv tbody tr',grid).addClass('trSelected');
}else if (com=='DeSelect All'){
$('.bDiv tbody tr',grid).removeClass('trSelected');
}
}
function removeFromList(){
var result = "";
$(".chkRefNos").each( function () {
//if(this.checked == true) {
removeCookieItem(this);
//}
});
window.location.reload(true);
}
function viewList(){
var sListname = $("#drpLists").val();
if(sListname == 0 || sListname == "new"){
alert('Please select a list');
}else{
getListRefs(sListname);
//alert("listRefnos=" + $("#listRefnos").val());
var sRefNumbers = $("#listRefnos").val();
$('#defaultResults').hide();
var sViewQuery = "SF1=keyword&ST1="+sRefNumbers;
// alert(sListname + " : " + sViewQuery);
// sViewQuery --> this holds the complete query I need to pass
listViewer("#listDisplay1");
// $("#listRefnos").val('');
}
}
</script>
|