I am trying to do something like this:
var data = $ (' # Uptar ') content () .; . $ ("# FileRes") HTML (data); Where #user is an iframe and #fileer is a div, then i need all the data from the iframe (in HTML format) in the diff iframe is dynamically loaded.
Edit
Additional code looks like this: $ ("# addmore"). Click (function () {$ ("# progForm"). Submit (); $ ('# upTar'). Load (function () {$ ("# title, #obj, #theory, #code, # Output, #conc "") .val (""); var data = $ ('# above'). Content (). ("Body") .html (); alert (data); $ ("# fileRes" ) .HTML (info);});}); The goal of submitting a form is an iframe (#upTar) on the same page. Once loaded, I I want to transfer its data to the Div.
Closer edit
How to obtain details from Ephraim Instead of doing, I am now calling
try HTML () Content brings back the top-level HTMLElement node itself, then you ("#up") also capture HDM from this node. And you probably do not want all the HTML including the head section, first you need to find body tags.
Comments
Post a Comment