Thank you Deepak. Sorry – I’m not sure of the mechanics of replying. It looks like just by email to the list which creates another # number. If I’m doing it wrong, please let me know😊 The hosting server OS is Apache Version 2.4.58 MySQL Version 8.0.35 Architecture x86_64 Operating System linux The _javascript_ function is: ++++++++++++++++++++++++++++++++++++++++++++ function TEST_Refresh() { jQuery(document).ready(function($){ TEST_Recordset_for_display = []; TEST_Recordset_local = []; TEST_currentrecord = []; $searchmode = 'localcopy'; var jsonObjTEST = new Object(); jsonObjTEST.srch_criteria = '*'; //Retrieve all records jsonObjTEST.searchmode = $searchmode; jsonObjTEST.ssn_current_user = $SSN_current_user; jsonObjTEST.authentic = location.pathname; jsonObjTEST.Authorised_user = 'YeS?'; $url = ''; $.ajax({ url: $url, type: 'GET', //Use GET as large volume of data being returned datatype: 'json', timeout: 15000, data: jsonObjTEST }) .done(function (databack, textStatus, jqXHR){ if ($.isJsonString(databack)) { TEST_Recordset_local = JSON .parse(databack); for (var i = 0; i < TEST_Recordset_local.length; i++) { tmpstr = TEST_Recordset_local[i].TEST_fullpreferredname_rev; TEST_Recordset_for_display.push({'value':TEST_Recordset_local[i].TEST_fullpreferredname_rev,'label':tmpstr}); }; } else { errorintro = 'Retrieving Preload of ajax failed:'; displayTxt = databack; console.log(errorintro + '\n' + displayTxt); resetForm('SSN_TEST_form'); return false; } $TEST_record = TEST_Recordset_local; return true; })//End of request.done success callback handler .fail(function (jqXHR, textStatus, errorThrown){ errorintro = 'Retrieving Preload of TEST ajax failed:'; displayTxt = $.OnjqXHRError(jqXHR, textStatus, errorThrown) console.log(errorintro + '\n' + $.OnjqXHRError(jqXHR, textStatus, errorThrown)); return false; }); }); //End of JQuery } //end function +++++++++++++++++++++++++++++++++++++++++++ The server script is ++++++++++++++++++++++++++++++++++++++++++++ <?php $rows = array('TEST' => 9999); echo json_encode($rows); return json_encode($rows); die(); ?> +++++++++++++++++++++++++++++++++++++ Thank you! From: Deepak Goel <deicool@xxxxxxxxx> On Tue, Dec 19, 2023 at 7:11 AM Steve Parry <steve.z.parry@xxxxxxxxx> wrote:
Are your OS libraries uptodate? Can you please share the code?
"The greatness of a nation can be judged by the way its animals are treated - Mahatma Gandhi" +91 73500 12833 "Plant a Tree, Go Green" Make In India : http://www.makeinindia.com/home |