Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    May 2006
    Posts
    216
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Question How to do iframe with jquery?

    How to do iframe with jquery?

    I have implemented iframe as posted at URL:
    http://api.jquery.com/contents/

    I have code working :
    PHP Code:
    <iframe id='myframe'></iframe>
    <
    script>$("#myframe").contents().find("a").css("background-color","#FFFFFF");</script>
    </div> 
    1. How to do without border and white background?

    2. How to request this content within frame name myframe from link of form?

    Code to execute this frame is:
    PHP Code:
    <form name="myframe"  action="myphpfile.php"

  • #2
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    I'm sorry, I don't understand. Are you trying to get the contents of the iframe?

    Can you describe in more detail what you're trying to do, or link us to the page you're working on?

  • #3
    Regular Coder
    Join Date
    May 2006
    Posts
    216
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Question

    Hi,
    thanks for reply.
    I like to do the following:
    iframe has to be used as I have within iframe encoding UTF-8.
    Now other part of page will be different encoding.

    So, need to show text within iframe but without border or any scroll bar.
    Issue is that client should not notice any different iframe to other parts of websites.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •