Web Analytics Made Easy -
StatCounter HTML shut off in FF 2 - CodingForum

Announcement

Collapse
No announcement yet.

HTML shut off in FF 2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HTML shut off in FF 2

    Well, this is weird...something's shutting off the HTML in FF 2
    I've a page with 2 forms submitting to different pages...
    Click the pic for LD video
    Click HD for HD video

    www.buskeralley.com/directors.php
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

  • #2
    Im getting a javascript error 'submit is not defined' which means you are using a submit function to submit your form. however you should try

    Code:
    document.fred.submit();
    and
    Code:
    document.bob.submit();
    You can not say you know how to do something, until you can teach it to someone else.

    Comment


    • #3
      I got it...
      FF2 doesn't like the event handler (onclick) in the img tag but I'll add your suggestion, too.
      Thx
      Zoobie or not Zoobie...That is the problem.
      <body onUnload="flush( ! )">

      Comment


      • #4
        You could always get the image to run another scrip say

        Code:
        onclick='return submission('bob');'
        And include a function like so

        Code:
        <script type="text/javascript">
        <!--
        function submission(id)
        {
        document.getElementById(id).submit();
        }
        -->
        </script>
        If not maybe turning the images into form buttons
        You can not say you know how to do something, until you can teach it to someone else.

        Comment


        • #5
          heh heh...I'm trying to simplify this site by popping the video player window with html because I'm already passing vars thru a separate javascript that needs to get gone

          I should have initially set it up to pass the vars with php (which I'm now doing) seeing as it's a php page...instead of js

          No matter...it submits without naming the forms by putting the event handler in the form tag rather than the image...

          Thx
          Zoobie or not Zoobie...That is the problem.
          <body onUnload="flush( ! )">

          Comment

          Working...
          X