i have onchage function on input <select> my code is working on parent page before, but how i can run my onchange function like this to effect the iframe
themeSelect.on('change', function(e)
{
e.preventDefault();
updateTheme(themeSelect.val());
});
i have tried this code
var $f = $("#myIFrame");
$f[0].contentWindow.updateTheme(themeSelect.val());
but it still does not work :(
i new on jquery, hope some one can help me please
iframesrc on the same domain as the parent page? If it is not, then you can't do this as long as you don't have acess to edit the source code of that iframe content.