jQuery get the value of ahref and put it to button
- by user1506189
i have this problem that i need to get the value of href and pass it to a button.
is this correct format of jQuery?
$(function() {
var getValue = $('#theLink').getAttributeNode('onclick').value;
$('.yt_holder').live('click', '.videoThumb4', function(){
$(".videoThumb4").ytplaylist({
holderId: 'ytvideo4',
html5: true,
…