FatihErdo287an Posted November 3, 2015 Share Posted November 3, 2015 merhaba, js dosyasında function apiLoadPlaylistCompleteHandler(e){ addMessage("playlist load complete - id: " + "<font color='#0099FF'>" + player1.getvideo Source() + "</font>"); }; kod var. burdaki " + player1.getPlaylistId() + " aldığı değeri phpdeki <button onclick="$('#ytdown').toggle('medium');" class="btn btn-success dropdown-toggle" type="submit" name="id" value="" style="margin-top: 10px;">Download</button> value değerinin içine atamak istiyorum çok uraştım ama bi türlü yazdıramadım. şunu denedim ama olmadı var abc = player1.getvideoSource(); $('button').val(abc); Quote Link to comment Share on other sites More sharing options...
faruk15725 Posted November 8, 2015 Share Posted November 8, 2015 var abc = player1.getvideoSource(); bu getvideoSource foksiyonu bul içine return veya callback ekler isen çalışır. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted November 9, 2015 Editor Share Posted November 9, 2015 document.getElementById("pButon").value = ATANACAK DEĞER; butonun ID sini pButon olarak yaparsanız value sunu değiştirecektir. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.