User Profile

Collapse

Profile Sidebar

Collapse
iuniamadalina
iuniamadalina
Last Activity: Nov 21 '08, 11:08 AM
Joined: Nov 15 '08
Location: Bucharest, Romania
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • iuniamadalina
    replied to iframe and javascript
    That article realy helped. Thank you so much
    See more | Go to post

    Leave a comment:


  • iuniamadalina
    replied to iframe and javascript
    Thank for your help. It realy helped me.

    this is the code that works fine in firefox and with the iframe pages from my domain:

    [HTML]<html>
    <script>

    function Settext()
    {

    var selectedText=do cument.getEleme ntById('ifrmChi ld').contentWin dow.getSelectio n();
    document.all("t xtIndex").value = selectedText;

    }
    </script>...
    See more | Go to post
    Last edited by acoder; Nov 18 '08, 11:05 AM. Reason: Added [code] tags

    Leave a comment:


  • iuniamadalina
    started a topic iframe and javascript

    iframe and javascript

    Hi! i have a html page with a iframe. I want to be able to select some text from iframe and when i push a button outside the iframe the selected tet shoul be copied in a text field ( the text field is also outside the iframe). I searh for days how to cummunicate between the iframe and parrent - and nothing. I already have a function in javascript wich copies the selected text in a text field (the text field is outside the iframes).

    ...
    See more | Go to post
    Last edited by acoder; Nov 15 '08, 06:58 PM. Reason: Added [code] tags
No activity results to display
Show More
Working...