Home > Ajax > JavaScript: Access Iframe

JavaScript: Access Iframe

February 20th, 2009 Leave a comment Go to comments

t = window.frames['iframe'].document.getElementById(‘someID’).innerHTML = “karlos”;

	$('#iframe').load( function(){
          //$(this.contentDocument).find('body').find("#mojDiv").click(function(){
		  		$(this.contentDocument).find('body').find("#hidden").attr("value", "test");
		  //});
	});
Categories: Ajax Tags:
  1. No comments yet.
  1. No trackbacks yet.

17043 pages viewed, 0 today
11075 visits, 0 today
FireStats icon Powered by FireStats