how to use '~=' to return images that partially match an entered image name / text 
<p>Is possible to use this? (the code <em>format</em> is mixed html jQuery, but just for explanation.)</p>

<pre><code>&lt;input id="input" type="text" value="" /&gt; // the entered text: 'car'
var text= $('#input').text();  // is taken by jquery...
</code></pre>

<p>And than something like: (to retrieve all combinations of images)</p>

<pre><code>&lt;div id="results"&gt;&lt;/div&gt; // the area inside body...
$('#results').append('&lt;img src~="'+ text +'"'); // the ~ ! (I'm missing some kind of loop here...)
</code></pre>

<p>And finally append to #result all the matched images like:
carmageddon.png car.jpg red-car.jpg blue-car-micromachines.jpg car-yellow.gif</p>

<p>Having in mind that if entered only 'yellow' to return only the images that have 'yellow'.</p>

<p><strong>EDIT</strong>:
Resume:<br>
if you type into an input field a name, you can dynamically make appear an image on page, but only if the entered name is equal to the image name on the server. So my question was: you write only a part of the name, and jquery appends to the page all images that partially match the entered name. ... any idea?</p>

<p>any suggestion is greatly appreciated!</p>
