Results 1 to 2 of 2

Thread: Iframe problem?

Hybrid View

  1. #1
    Join Date
    Feb 2013

    Iframe problem?

    I want to be able to show iframe only when you click submit:

    <script type="text/javascript">
    function showIFrame() {
    var iframe = document.getElementById("#myiframe");

    in my css file

    #myiframe {
    display:none; }

    <form name="search" id="search" method="get" action="http://tmccaffery.outsideagents.com/travel/car/search.rvlx" target="carsearch">

    <iframe id="#myiframe" name="carsearch" width="535" height="625" scrolling="no" frameborder="0"></iframe>

    <button type="submit" id="SearchCarButton" class="submitBtn" onclick="showIFrame()"/> <span>Search</span></button>

  2. #2
    Join Date
    Feb 2013
    I found it out, mistyped, lol

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles