Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 11th, 2003, 03:42 AM
Registered User
 
Join Date: Jun 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default java script in ASP.Net

Hi Guys
Can I use java script in a ASp.Net page? if yes then plz provide me some code sample.

Thanks


 
Old July 11th, 2003, 03:55 AM
Authorized User
 
Join Date: Jun 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes you can use javascript like in standard HTML page.

Simple write <script></script> section to HTML part of ASPX page.

Another way is use RegisterStartupScript or RegisterClientScriptBlock
function in xxxx.aspx.cs file.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Best book for script developer to learn ASP.net? mschrank99 ASP.NET 2.0 Basics 2 May 24th, 2007 11:03 AM
ASP.Net Table and Java Script ramuis78 ASP.NET 2.0 Basics 3 February 27th, 2007 02:12 AM
how to start an asp.net script invisible bunny king ASP.NET 1.0 and 1.1 Basics 0 February 23rd, 2007 12:02 AM
ASP.NET 2.0 + Java-Script DuhMaster ASP.NET 2.0 Basics 0 January 9th, 2007 06:16 AM
Java vs Java Script functions joemorrison74 J2EE 0 July 6th, 2005 04:28 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.