jquery - How to fire a anchor to a fancybox? -
jquery - How to fire a anchor to a fancybox? -
i have function used checked item , bring together separated "," info table.
function funcselect(x){ var selecteditems = new array(); var selecteditemsname = new array(); $("table tbody input[@name]:checked").each(function(){ selecteditemsname.push($(this).attr('id')); selecteditems.push($(this).attr('id')+"/"+$(this).attr('value')); }); if (selecteditems.length == 0){ alert("no item selected!"); } else { var getjoindata = selecteditems.join(','); //alert('archive.htm?d='+selecteditemsname+'&f='+getjoindata); $('.xlink').fancybox({ // no thought }); .... } }
and want fire link (archive.htm?d='+selecteditemsname+'&f='+getjoindata) fancybox open. have iframe type setting fancybox. how can this? please help..=(
if understood correctly want load fancybox aresponse of ajax request link create. if should able manual phone call feeding content display ajax response. place phone call in e.g. succes callback of $.ajax:
$.fancybox('content': 'your parsed or not ajax response', 'type':'iframe', });
jquery fancybox
Comments
Post a Comment