Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1929 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Javascript :

Help

Thread title: Help
Reply    
    Thread tools Search this thread Display Modes  
06-18-2010, 05:49 PM
#1
v-a-l-o-r is offline v-a-l-o-r
v-a-l-o-r's Avatar
Status: Member
Join date: Jul 2008
Location:
Expertise:
Software:
 
Posts: 100
iTrader: 1 / 100%
 

v-a-l-o-r is on a distinguished road

  Old  Help

As most of you may or may not know, I am not really good at Javascript and such is the reason why I'm making this post today.

I'm current working on a web-based app and I have an iframe from which I need to insert values into a textarea. The textarea is over-layed with another iframe (rich text editor). My question is, how do I send values from my iframe to the editor.

I'm guessing window.top.execCommand. I don't know the syntax that well but I think you guys get the point.

By the way, i'm using jQuery as the framework of choice so the solution can either be pure Javascript or jQuery based.

Reply With Quote
06-18-2010, 08:46 PM
#2
Gaz is offline Gaz
Gaz's Avatar
Status: Request a custom title
Join date: Apr 2007
Location: UK
Expertise: Code & Programming
Software: Coda, TextMate, Sublime 2
 
Posts: 2,097
iTrader: 26 / 100%
 

Gaz will become famous soon enough Gaz will become famous soon enough

Send a message via Skype™ to Gaz

  Old

Can you give a demo? What RTE are you using?

Reply With Quote
06-19-2010, 12:11 AM
#3
v-a-l-o-r is offline v-a-l-o-r
v-a-l-o-r's Avatar
Status: Member
Join date: Jul 2008
Location:
Expertise:
Software:
 
Posts: 100
iTrader: 1 / 100%
 

v-a-l-o-r is on a distinguished road

  Old

Hi Gareth, i'm using this as my editor of choice. I'm open to new ideas but I need something that is licensed under MIT not GPL/GNU.

Pretty much I have modified this editor so when the user clicks the insert image button, an overlay opens up. The overlay is a customized Thickbox but the core is thickbox still. Anyways the overlay is an iframe. Here the user enters the URL and so forth and they click done button. A string is generated which I need to send to the editor but have no idea how to go about it.

Reply With Quote
Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed