Hi All,
I've been working on lists and passing them to javascript to be manipulated by dwr.. my problem is i can't seem to access my list when im using IE 7, but it works on firefox 3.. do u have any suggestions/alternative methods for me to access it on IE7? here is my javascript code:
as u can see on the second function (getSvcType()), the data.length should be alerted when i click on my button. it works on firefox, but not on IE.. please helpCode:button: <input type="button" value="Test Ajax" onclick="javascript:getSserviceType();" /> javascripts: function getSserviceType(){ var txn_details = '9,639,,25-AUG-2008 00:00:00,10-OCT-2008 00:00:00,,,,,1,1'; var conn_string = 'jdbc:oracle:thin:@10.132.1.89:1521:CRTTDSDB'; var conn_schema = 'crttds_apps'; var conn_pword = 'biDLLnFMo9vo1wL9KvC9GLRBv3w='; SvcType_ajax(txn_details, conn_string, conn_schema, conn_pword); } function getSvcType(data){ alert('ok'); alert(data.length); //data is a list } function SvcType_ajax(txn_details, conn_string, conn_schema, conn_pword){ alert(''); txnLogsService.getTransactionLogs(getSvcType,txn_details, conn_string, conn_schema, conn_pword); //val is the input value for getServiceTypeSingle function, return values will be put to getSvcType as 'data' -gino08042008 } //
thanks



Reply With Quote
