function fill(Value) {

   //Assigning value to "search" div in "search.php" file.

   $('#articlepartvalue').val(Value);

   

   //Hiding "display" div in "search.php" file.

   $('#display').hide();

}

function fill2(Value) {

   //Assigning value to "search" div in "search.php" file.



   $('#materialpartvalue').val(Value);

   //Hiding "display" div in "search.php" file.

   $('#display').hide()

}

function fill3(Value) {

   //Assigning value to "search" div in "search.php" file.



   $('#colorvalue').val(Value);

   //Hiding "display" div in "search.php" file.

   $('#display').hide()

}

function fill4(Value) {

   //Assigning value to "search" div in "search.php" file.



   $('#descriptionpartvalue').val(Value);

   //Hiding "display" div in "search.php" file.

   $('#display').hide()

}



li onclick='fill("<?php echo $Result['article_identificationparts']; ?>"); fill2("<?php echo $Result['material_identificationparts']; ?>"); fill3("<?php echo $Result['color_identificationparts']; ?>"); fill4("<?php echo $Result['description_identificationparts']; ?>");'> 

   <a>