Hi all,
I have a very simple jQuery function which I need converting into pure JavaScript (as jQuery isn't available).
I am taking the contents of a <strong> tag and squirting it into the value of a hidden form field in an iframe (the iframe is from a different domain if that affects the solution)
Code JavaScript:$(document).ready(function(){ $('#21016619031340').load(function(){ $(this.contentDocument).find('#input_4').val($('#content .group p:first-child strong').html()) }); });
Could someone help me please?
Many thanks
Mike



Reply With Quote




Bookmarks