Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Learning to use JavaScript with ASP.Net
Message
 
To
22/05/2009 11:57:56
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
Application:
Web
Miscellaneous
Thread ID:
01400821
Message ID:
01401551
Views:
37
>These error messages are coming up as soon as the page is loaded and before any script is injected other than what is already on the page. Funny thing is, after just hitting ignore a few times, I get alert messages that are no longer even in my script. I had added them earlier when I was trying to test some things. My script is in a seperate file and linked to the page. What does it take to cause the scripts to be updated in the build process? I suspect this is why I am currently having an issue as the yellow arrow in the script debugger is not even on a valid line.
>
>Also, last night I installed Firefox and firebug. I haven't entirely learned what I need yet to utilize this, but I am hopeful firebug will give me better access to the script checking process.

I normally embed my JS code directly in the page during testing, then move it out to an external file once I'm sure things are working. That might help with debugging in your case. VS.NET doesn't build any kind of object file for JS files so I'm not sure why things aren't lining up.

Firebug is great - just run your page like normal (or change the default browser to Firefox in VS.NET) and open FF. Then Open up Firebug - I like to open it in it's own window so I can move it to another monitor. Finally, open your web page. When it hits the "debugger;" command Firebug will open and let you step through things.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Reply
Map
View

Click here to load this message in the networking platform