1
0
mirror of https://github.com/balkian/go5ears.git synced 2024-11-22 13:22:28 +00:00

Autoplay added

This commit is contained in:
J.Fernando Sánchez 2012-10-05 00:33:33 +02:00
parent aa040292b3
commit c70f1f8753

View File

@ -4,6 +4,7 @@
<script> <script>
function playSelected(id){ function playSelected(id){
$("audio").attr("src","play?id="+id); $("audio").attr("src","play?id="+id);
$("audio").get(0).play();
} }
function search(term){ function search(term){
$.ajax({url:'/search?id='+term, $.ajax({url:'/search?id='+term,