Autocomplete multiselect jquery Ajax PHP

Autocomplete multiselect jquery Ajax PHP   <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script> <script src="autocomplete.multiselect.js"></script></code> <div class="main-div"> <h2>Autocomplete multiselect jquery Ajax PHP Example</h2> <input id="myAutocompleteMultiple" type="text" /> </div> <script type="text/javascript"> $(function(){ var availableTags…

Convert Image Url to Base64 Angular

import { Component } from '@angular/core'; @Component({   selector: 'my-app',   templateUrl: './app.component.html',   styleUrls:  }) export class AppComponent  {   name = 'Angular';   constructor(){     this.toDataURL('https://pbs.twimg.com/profile_images/558329813782376448/H2cb-84q_400x400.jpeg', function (dataUrl) { console.log(dataUrl)     })   }   toDataURL(url, callback) {         var xhr = new XMLHttpRequest();         xhr.onload = function () {             var reader = new FileReader();             reader.onloadend = function () {                 callback(reader.result);             }             reader.readAsDataURL(xhr.response);         };         xhr.open('GET', url);         xhr.responseType = 'blob';         xhr.send();     } }https://stackoverflow.com/questions/57155825/converting-an-image-url-to-base64-in-angular https://plnkr.co/edit/mDqbExlEBzb7EalN?preview