javascript - autoload files conflict with jquery files -


i have jquery files. project sidebar menu item hide show on click of menu. when add autoload code select of requirement sidebar no work don't no why me plz. because struck.

<script src="../plugins/jquery/jquery-2.2.3.min.js"></script> // have use in script file when dont add on mail.php file myautoload code not run. if add in mail.php select required field.  <script src="../plugins/jquery/jquery-2.2.3.min.js"></script> <script src="../plugins/jqueryui/jquery-ui.js"></script> <script> ## heading ##      $(document).ready(function () {         $('#user').autocomplete({             source: 'autocomplete.php',             minlength: 1,`enter code here`             select: function (event, ui) {                 var selectedobj = ui.item;                 jquery("#user").val(selectedobj.label);                 jquery('#rowid').val(selectedobj.value);                 return false;             },         });     }); </script>          

another page selete autoload complete code select records form required table section of autoload select query page.

autocomplete.php

include '../includes/dbconfig.php'; include '../includes/functions.php'; $user_id = $_session['user_id'];  $term = trim(strip_tags($_get['term']));//retrieve search term autocomplete sends  $qstring = "select concat(firstname, ' ', lastname) value,id id tip_users user_id=" .$user_id;  $result = mysqli_query($conn, $qstring);  while ($row = mysqli_fetch_array($result))//loop through retrieved values {     $row['value']=htmlentities(stripslashes($row['value']));     $row['id']=(int)$row['id'];     $row_set[] = $row;//build array } echo json_encode($row_set);//format array json data 


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -