🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #44098

jak wyciągnąć dane z iframe edytor xinha pod ajaxem

#44098
From: nospam
Date: Mon, 14 May 2007 21:26
34 lines
1992 bytes
Witam

podłączam edytor xinha prze ajaxa
jest jak zwykle ten sam problem co z innymi edytorami czyli lądują sie tylko
raz a później padają

'NOWE DANE TESTOWE DO EDYCJI' - to dane wpisane w edytorze


mam cos takiego
<iframe id="XinhaIFrame_content_text" class="xinha_iframe"
src="lib/editor/popups/blank.html" style="height: 368px; width: 639px;">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<style type="text/css" title="Xinha Internal CSS">....</style>
<link href="lib/editor/examples/full_example.css" type="text/css"
rel="stylesheet">
</link>
</head>
<body> NOWE DANE TESTOWE DO EDYCJI</body>
</html>
</iframe> 


i mam pytanie jak wyciągnąć najpierw dane z iframe a później dane z body tzn
jak juz będę miał dane z iframe to dane z body sobie jakoś wyszukam
innerHTML jest pusty gdy pobieram dane z iframe po id

W formularzu te dane nie mogą idą chyba normalnie postem i musze to jakoś
wysłać przez POST

Będę wdzięczny za wskazówki jak to wykonać albo jak zrobić aby ten edytor
działał pod ajaxem a dokładnie pod advajax 
Technical Details
Message-ID: <f2akcs$sit$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: nospam <nospam@localhost.localdomain>
Newsgroups: pl.comp.lang.javascript
Subject: jak wyciągnąć dane z iframe edytor xinha
 pod ajaxem
Date: Mon, 14 May 2007 23:26:30 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 35
Message-ID: <f2akcs$sit$1@nemesis.news.tpi.pl>
Reply-To: nospam@localhost.localdomain
NNTP-Posting-Host: abjt135.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1179178205 29277 83.7.161.135 (14 May 2007 21:30:05 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Mon, 14 May 2007 21:30:05 +0000 (UTC)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit