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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Focus doent work in firefox pop ups

Focus doent work in firefox pop ups

Scheduled Pinned Locked Moved ASP.NET
helpjavascript
23 Posts 5 Posters 2 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 Shweta2281

    No luck guys!!!:(

    N Offline
    N Offline
    N a v a n e e t h
    wrote on last edited by
    #8

    Tried Firebug ?

    All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

    S 1 Reply Last reply
    0
    • N N a v a n e e t h

      Tried Firebug ?

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

      S Offline
      S Offline
      Shweta2281
      wrote on last edited by
      #9

      No..I dont know whats that.:sigh:

      N 1 Reply Last reply
      0
      • S Shweta2281

        And this one throws a javascript error!:|

        I Offline
        I Offline
        InsDev
        wrote on last edited by
        #10

        ok no problem var _txtField=document.getElementById(' +field_id+ '); window.setTimeout("_txtField.focus()",500 ); should work; Devjit Das.

        S 1 Reply Last reply
        0
        • I InsDev

          ok no problem var _txtField=document.getElementById(' +field_id+ '); window.setTimeout("_txtField.focus()",500 ); should work; Devjit Das.

          S Offline
          S Offline
          Shweta2281
          wrote on last edited by
          #11

          I get javascrpt error : _txtField is undefined

          1 Reply Last reply
          0
          • S Shweta2281

            No..I dont know whats that.:sigh:

            N Offline
            N Offline
            N a v a n e e t h
            wrote on last edited by
            #12

            It's a firefox add-on which helps to find out JS and other problems. Download it and install it. Do a google search for Firebug, you will find it.

            All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

            S 1 Reply Last reply
            0
            • N N a v a n e e t h

              It's a firefox add-on which helps to find out JS and other problems. Download it and install it. Do a google search for Firebug, you will find it.

              All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

              S Offline
              S Offline
              Shweta2281
              wrote on last edited by
              #13

              I downloaded it.But i dont see a way to install it..no msi nothing

              N 1 Reply Last reply
              0
              • S Shweta2281

                I downloaded it.But i dont see a way to install it..no msi nothing

                N Offline
                N Offline
                N a v a n e e t h
                wrote on last edited by
                #14

                click[^]

                All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

                S 1 Reply Last reply
                0
                • S Shweta2281

                  I am using the dimming div js(got it from code project itself).but my problem is am not able to set focus on the the text box that appears in my pop up.This is my code: function setfocus(field_id) { if (document.getElementById(field_id)!= null){ window.setTimeout( "document.getElementById('" +field_id+ "').focus();",500 ); //alert(field_id); } } after i display my pop up,i call this function.It works perfectly fine in IE.But FF is a problem.:(Please help me!! Infact if you click on any of the controls on the pop up the cursor doesnt appear in Firefox.

                  S Offline
                  S Offline
                  Sherin Iranimose
                  wrote on last edited by
                  #15

                  Hi, try this function setfocus(field_id) { document.getElementById(field_id).focus(); window.setTimeout("setfocus('"+field_id+"')",500); }

                  **$**herin Iranimose

                  S 1 Reply Last reply
                  0
                  • N N a v a n e e t h

                    click[^]

                    All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

                    S Offline
                    S Offline
                    Shweta2281
                    wrote on last edited by
                    #16

                    sorry but am not getting how to debug using firebug...do you have any tips?

                    N 1 Reply Last reply
                    0
                    • S Sherin Iranimose

                      Hi, try this function setfocus(field_id) { document.getElementById(field_id).focus(); window.setTimeout("setfocus('"+field_id+"')",500); }

                      **$**herin Iranimose

                      S Offline
                      S Offline
                      Shweta2281
                      wrote on last edited by
                      #17

                      Doesnt work in FF

                      S 1 Reply Last reply
                      0
                      • S Shweta2281

                        sorry but am not getting how to debug using firebug...do you have any tips?

                        N Offline
                        N Offline
                        N a v a n e e t h
                        wrote on last edited by
                        #18

                        Check this[^]. If the page contains any errors, firebug will show the icon in red color. click on that icon, and it will show the error.

                        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

                        S 1 Reply Last reply
                        0
                        • N N a v a n e e t h

                          Check this[^]. If the page contains any errors, firebug will show the icon in red color. click on that icon, and it will show the error.

                          All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

                          S Offline
                          S Offline
                          Shweta2281
                          wrote on last edited by
                          #19

                          Firebug doesnt show any errors.

                          1 Reply Last reply
                          0
                          • S Shweta2281

                            I am using the dimming div js(got it from code project itself).but my problem is am not able to set focus on the the text box that appears in my pop up.This is my code: function setfocus(field_id) { if (document.getElementById(field_id)!= null){ window.setTimeout( "document.getElementById('" +field_id+ "').focus();",500 ); //alert(field_id); } } after i display my pop up,i call this function.It works perfectly fine in IE.But FF is a problem.:(Please help me!! Infact if you click on any of the controls on the pop up the cursor doesnt appear in Firefox.

                            I Offline
                            I Offline
                            InsDev
                            wrote on last edited by
                            #20

                            could be this. window.setTimeout(document.getElementById('+field_id+').focus(),500); Devjit Das.

                            S 1 Reply Last reply
                            0
                            • I InsDev

                              could be this. window.setTimeout(document.getElementById('+field_id+').focus(),500); Devjit Das.

                              S Offline
                              S Offline
                              Shweta2281
                              wrote on last edited by
                              #21

                              Nope.Already tried that.

                              1 Reply Last reply
                              0
                              • S Shweta2281

                                Doesnt work in FF

                                S Offline
                                S Offline
                                Sherin Iranimose
                                wrote on last edited by
                                #22

                                its working for me!!

                                **$**herin Iranimose

                                S 1 Reply Last reply
                                0
                                • S Sherin Iranimose

                                  its working for me!!

                                  **$**herin Iranimose

                                  S Offline
                                  S Offline
                                  Shweta2281
                                  wrote on last edited by
                                  #23

                                  Is it a javascript pop up?And are you checking on firefox?

                                  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