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. ASP.NET
  4. HTML Javascript

HTML Javascript

Scheduled Pinned Locked Moved ASP.NET
csharpjavascripthtmlasp-net
11 Posts 4 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.
  • M Offline
    M Offline
    MacIntyre
    wrote on last edited by
    #1

    I am developing in VB.NET/ASP.NET with javascript (2005). I'm getting an error on reported on my aspx page that does not match the actual code. It could be in the javascript, but I can't seem to find it. Is there a utility I can use that will debug the HTML and javascript? Thanks, Chuck

    P K S 3 Replies Last reply
    0
    • M MacIntyre

      I am developing in VB.NET/ASP.NET with javascript (2005). I'm getting an error on reported on my aspx page that does not match the actual code. It could be in the javascript, but I can't seem to find it. Is there a utility I can use that will debug the HTML and javascript? Thanks, Chuck

      P Offline
      P Offline
      pginnare
      wrote on last edited by
      #2

      etrtrrettdfgfgfgfgdgdgrtrtrtrrtttr

      1 Reply Last reply
      0
      • M MacIntyre

        I am developing in VB.NET/ASP.NET with javascript (2005). I'm getting an error on reported on my aspx page that does not match the actual code. It could be in the javascript, but I can't seem to find it. Is there a utility I can use that will debug the HTML and javascript? Thanks, Chuck

        K Offline
        K Offline
        Kaushal Arora
        wrote on last edited by
        #3

        In Internet Explorer you can enable javascript debugging by unchecking the option "Disable Script Debugging(Internet Explorer)" and for others you can use "Disable Script Debugging(Other)" from Tools -> Internet Options -> Advanced Regards, Kaushal Arora Mark the reply as Answer if it solved your purpose.

        M 1 Reply Last reply
        0
        • M MacIntyre

          I am developing in VB.NET/ASP.NET with javascript (2005). I'm getting an error on reported on my aspx page that does not match the actual code. It could be in the javascript, but I can't seem to find it. Is there a utility I can use that will debug the HTML and javascript? Thanks, Chuck

          S Offline
          S Offline
          scottgp
          wrote on last edited by
          #4

          I'd recommend Firefox and Firebug: http://getfirebug.com/[^] Scott

          M 1 Reply Last reply
          0
          • K Kaushal Arora

            In Internet Explorer you can enable javascript debugging by unchecking the option "Disable Script Debugging(Internet Explorer)" and for others you can use "Disable Script Debugging(Other)" from Tools -> Internet Options -> Advanced Regards, Kaushal Arora Mark the reply as Answer if it solved your purpose.

            M Offline
            M Offline
            MacIntyre
            wrote on last edited by
            #5

            Good answer if I want to see the same error in a dialog box, but the error says: A runtime error as occurred. Do you wish to debug? Then tells me the line number and Error Expected ")". That would be great except Looking at the HTML there is not "(" for there to be an matching ")", and I cannot view the Javascript to see which function is being called to get the error.. Then clicking OK takes me to the end of a closing TableCell tag that is exactly like the other 500 tags in the aspx page. andsays "Miscrsoft JScript runtine error: Object expected". Now that tells me alot of nothing... Any ideas for refining the debug answers more specifically?

            K 1 Reply Last reply
            0
            • S scottgp

              I'd recommend Firefox and Firebug: http://getfirebug.com/[^] Scott

              M Offline
              M Offline
              MacIntyre
              wrote on last edited by
              #6

              Not part of the development environment. Is there a way to have visual studio 2005 launch FireFox instead of IE?

              K 1 Reply Last reply
              0
              • M MacIntyre

                Good answer if I want to see the same error in a dialog box, but the error says: A runtime error as occurred. Do you wish to debug? Then tells me the line number and Error Expected ")". That would be great except Looking at the HTML there is not "(" for there to be an matching ")", and I cannot view the Javascript to see which function is being called to get the error.. Then clicking OK takes me to the end of a closing TableCell tag that is exactly like the other 500 tags in the aspx page. andsays "Miscrsoft JScript runtine error: Object expected". Now that tells me alot of nothing... Any ideas for refining the debug answers more specifically?

                K Offline
                K Offline
                Kaushal Arora
                wrote on last edited by
                #7

                Just write the word debugger in the starting if your javascript function which you are calling or you can apply it after the script tag starts and try to debug the javascript code like we do with cs of vb file. Regards, Kaushal Arora

                M 2 Replies Last reply
                0
                • K Kaushal Arora

                  Just write the word debugger in the starting if your javascript function which you are calling or you can apply it after the script tag starts and try to debug the javascript code like we do with cs of vb file. Regards, Kaushal Arora

                  M Offline
                  M Offline
                  MacIntyre
                  wrote on last edited by
                  #8

                  One of the things I have discovered about javascript in VS 2005 if there is a single syntax error in the function it will not even execute. I added the work "Debugger" to every function in the file and still with the same results... Is there a simple syntax checker out there someplace??? Thanks...

                  1 Reply Last reply
                  0
                  • K Kaushal Arora

                    Just write the word debugger in the starting if your javascript function which you are calling or you can apply it after the script tag starts and try to debug the javascript code like we do with cs of vb file. Regards, Kaushal Arora

                    M Offline
                    M Offline
                    MacIntyre
                    wrote on last edited by
                    #9

                    Thanks for all your assistance.. I found a javascript syntax checker, www.jslint.com, it works great. just what I needed...

                    1 Reply Last reply
                    0
                    • M MacIntyre

                      Not part of the development environment. Is there a way to have visual studio 2005 launch FireFox instead of IE?

                      K Offline
                      K Offline
                      Kaushal Arora
                      wrote on last edited by
                      #10

                      Just Right Click on the Website in the Solution Explorer and click the option Browse With. There add the firefox.exe and you can then use the firefox browser instead of IE. Regards, Kaushal Arora

                      M 1 Reply Last reply
                      0
                      • K Kaushal Arora

                        Just Right Click on the Website in the Solution Explorer and click the option Browse With. There add the firefox.exe and you can then use the firefox browser instead of IE. Regards, Kaushal Arora

                        M Offline
                        M Offline
                        MacIntyre
                        wrote on last edited by
                        #11

                        Thank You for your great assistance....

                        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