function postYourAdd () { var iframe = $("#forPostyouradd"); iframe.attr("src", iframe.data("src")); }