Back to the plugin

Remote search

In the following example, the plugin will search remotely for suggestions. Please enter a list of email addresses.




Source code

<html>
<script src="https://bossanova.uk/jsuites/v3/jsuites.js"></script>
<link rel="stylesheet" href="https://bossanova.uk/jsuites/v3/jsuites.css" type="text/css" />

<div id="tags"></div>

<p><input type='button' onclick='alert(tags.getValue())' value='  Get the value  '></p>

<script>
var tags = jSuites.tags(document.getElementById('tags'), {
    value: 'paul@jexcel.net,paul.hodel@gmail.com',
    search: '/jsuites/data?q=',
    placeholder: 'To'
});
</script>
</html>