16th June, 14:38
Hi, first of all great job on the plugin, its awesome!
But i have a little question.
I want to use the info for a autocomplete, so that when its clicked to put the info in my input field.
but when i click the info nothing happends
can you give a hand?
But i have a little question.
I want to use the info for a autocomplete, so that when its clicked to put the info in my input field.
JS Code
<script type="text/javascript">
$(document).ready(function(){
$('.tTip').qtip({
content: {
text: function(api) {
// Retrieve content from custom attribute of the $('.selector') elements.
return $(this).attr('title');
}
},
hide: {
event: 'unfocus'
}
});
$('ui-tooltip-content > span.clickable').click(function(){
var text=$(this).text();
$('input').val(text);
});
});
</script>
but when i click the info nothing happends
can you give a hand?