Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. window.parent.fom not working in Mozilla firefox

window.parent.fom not working in Mozilla firefox

Scheduled Pinned Locked Moved Web Development
javascriptphphelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Suman Singh
    wrote on last edited by
    #1

    Hi all, i am using iframe in a form and on the source file of iframe, i have used window.parent.fom in javascript.. It is working fine in IE but not working in mozilla firefox... Please help.... here is the code... on editor_loader.php <!-- function Validate_content(form) { if (window.parent.contentform.navig.value == "") { alert("Please mention value for navigation link name"); window.parent.contentform.navig.focus(); return; } } --> Thanks in advance for your help. Suman Singh

    S 1 Reply Last reply
    0
    • S Suman Singh

      Hi all, i am using iframe in a form and on the source file of iframe, i have used window.parent.fom in javascript.. It is working fine in IE but not working in mozilla firefox... Please help.... here is the code... on editor_loader.php <!-- function Validate_content(form) { if (window.parent.contentform.navig.value == "") { alert("Please mention value for navigation link name"); window.parent.contentform.navig.focus(); return; } } --> Thanks in advance for your help. Suman Singh

      S Offline
      S Offline
      Shog9 0
      wrote on last edited by
      #2

      Try: window.parent.document.forms["contentform"].elements["navig"].value or window.parent.document.getElementById("navig").value instead.

      ►►►

      ---- This is not helping me at all What you are doing here In the name of God and Love It's the distribution of fear...

      S 1 Reply Last reply
      0
      • S Shog9 0

        Try: window.parent.document.forms["contentform"].elements["navig"].value or window.parent.document.getElementById("navig").value instead.

        ►►►

        ---- This is not helping me at all What you are doing here In the name of God and Love It's the distribution of fear...

        S Offline
        S Offline
        Suman Singh
        wrote on last edited by
        #3

        Thanks a ton... It worked....

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups