to assign jquery function to variable which method best to describe with, ( likebox = div class )
can it be done taking value from function ? i.e
Code:
<div class="likebox"></div>
$(document).ready(function({$('.likebox').fblike();});
Code:
something like this or without assigning to html code?
var x;
this.x = $fblike() or
this.x = $.ajax().fblike(); or
this.x = $(this).fblike(); or
this.x = $(this).attr('likebox').fblike();
Comment