Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using javascript

Status
Not open for further replies.

rotsey

Programmer
Nov 23, 2004
135
AU
Hi,

When using javascript in a web app using Visual Studio.

WHere do you develop the javascript???

Also can you debug the javascript code???

rotsey
 
You place the javascript in the aspx file in exactly the same place as you would in a HTML page.

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
ok cool thanks ca8msm

Can you debug the javascript??
 
You can also use registerclientscriptblock or registerstartupscript functions that allows trhe code behid to write the javascript. The first writes the code on an event, the second writes the page on startup of the page.
 
Oh and debugging javascript is probably the worst of any language because of the vague errors.
 
yes thanks I registerclientscriptblock and it works fine.

I thought that you could probably load a .js file straight into registerclientscriptblock. But not so.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top