Tuesday, 15 August 2017

Get Image, Iframe source link on button click with jquery

Here is the working script:

jQuery(".btn").click(function() {
var iframesrc = jQuery(this).find("iframe").attr("src");
var imagesrc = jQuery(this).find("img").attr("src");
});

No comments:

Post a Comment

Google Map Filter Api Example

Here is Google Map Filter Api Example: