Give the input element an ID and use that in the selector:
>
$(this).setFile('http://domain.com/asset/get/' +
$('#music_id').attr('id')).play();
On Fri, Nov 27, 2009 at 11:48 AM, shapper wrote:
> Hello,
>
> I am using JPlayer to play a sound on a page:
> http://www.happyworm.com/jquery/jplayer
Hello,
I am using JPlayer to play a sound on a page:
http://www.happyworm.com/jquery/jplayer/0.2.5/demo-04.htm
$(document).ready(function(){
$("#jquery_jplayer").jPlayer({
ready: function () {
$("#trackname").text($("#track-01").text());
$(this).setFile('http://www.m
2 matches
Mail list logo