troubleshooting Question

syntax error in the ajax call

Avatar of newbie27
newbie27Flag for United Kingdom of Great Britain and Northern Ireland asked on
JavaScriptWeb Components
2 Comments1 Solution543 ViewsLast Modified:
Hello Experts,
I am trying to submit data from the main.asp page to proxy.asp, I dont seems to have understood where I am going wrong. I have  attached the code  for the ajax call and the results should get displayed in one of the plugin I am using for jquery called Flexigrid.
Please can someone of you look into this?
Your help is much appreciated.
regards
s
<%
 Set QSHash = CreateObject("Scripting.Dictionary")
	x = GetQueryStrings(QSHash)
	
	For each k in QSHash.keys
		rUrl = rUrl & k & "=" & QSHash(k) & "&"
	Next
	
	rUrl = left(rUrl, len(rUrl)-17)	
%>
<script type="text/javascript" src="include/jquery/jquery-1.2.3.min.js"></script>
<script type="text/javascript" src="include/jquery/jquery.cookie.js"></script>
<script type="text/javascript" src="include/flexigrid/flexigrid.js"></script>
<script type="text/javascript">
$(document).ready(function(){
     $("#listDisplay").flexigrid
     ({
        url: 'list.proxy.asp?a=results',       
        colModel : [
            {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: 'Telephone  ', name : 'co_tel_home', width : 100, sortable : true, align: 'left'},
		    {display: 'Position  ', name : 'pe_position', width : 100, sortable : true, align: 'left'},
		    {display: 'Group  ', name : 'co_group', width : 200, sortable : true, align: 'left'}		 
        ],                                      
        sortname: '<%=rSort%>',
        sortorder: 'asc',
        usepager: true,
        title: 'List Manager',
        useRp: true,
        rp: 15,
		query : '<%=rUrl%>'+'&Fields=pe_rev_name,co_name,co_tel_home,pe_position,co_group',		
		showTableToggleBtn: true,		        
        width: 735,
        height: 290
    });    
});     
         
         
</script>
 
-------------
<body>
<table id="listDisplay"> 
			 	    
                    </table>
</body>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros