🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#44100
From: nospam
Date: Mon, 14 May 2007 21:50
21 lines
1540 bytes
poniedziałek, 14 maja 2007 23:31 nospam napisał(a):

> Akurat znalazłem rozwiązanie może sie komuś przyda:
> xinha_editors.content_text.getHTML();
choc mam jeszcze maly problem

ponizsza funkcja dziala poprawnie oczywiscie jak podam jako obj=content_text 

function editor(obj) {
 $ (obj).value = xinha_editors.content_text.getHTML();
}
 
lecz nie działa juz cos takiego 
function editor(obj) {
 $ (obj).value = xinha_editors.obj.getHTML();
}

w tym przypadku nie musze wysyłać wszystko pod ta sama zmienna i nie mogę
załadować kilku edytorów jest na to jakieś rozwiązanie?

Pozdrawiam
Technical Details
Message-ID: <f2aliv$5ah$1@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <f2akcs$sit$1@nemesis.news.tpi.pl> <f2akmk$sit$2@nemesis.news.tpi.pl>

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