Click to See Complete Forum and Search --> : Javascript


johnsonlim026
February 22nd, 2009, 07:50 PM
Hi, i am a new bee in asp.net and now in the process of coding the asp.net.
I have a difficulties in writing javascript.
My problems is as below:

(a). How do i start to learn javascript?Because mostly i find the script from the internet resources, i just copy paste and use it.I do not quite understand how to start my javascript and learn from it.

(b).How do i debug javascript because i find that there is no way to debug it. If that is the way then how should i code and find out the error? How the programmer outside there do this?

Does anyone mind to share his experience here?

PeejAvery
February 23rd, 2009, 07:21 AM
First off, JavaScript and ASP.NET are two totally separate languages. Being new to ASP.NET should not affect your knowledge of JavaScript at all. They are two distinct entities.

Learning? You will want to follow W3Schools JavaScript Tutorial (http://w3schools.com/js/default.asp) to gain a basic grasp of JavaScript. From there, Google will return many results for advanced tutorials.

Debugging is simple. First, download a copy of Firefox (http://www.mozilla.com/en-US/firefox/). Under the "Tools" menu, there is an item known as the "Error Console." Everytime a script error occurs, it will be there for your assistance. Or, you can also get Firebug (http://getfirebug.com/).

johnsonlim026
February 23rd, 2009, 06:46 PM
Hi, PeejAvery ,
Thanks for your sharing.It really helps !!