Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
| Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To 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
  #1 (permalink)  
Old March 28th, 2007, 05:54 AM
Authorized User
 
Join Date: Jun 2006
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default JScripts on ASP.NET Master page?

Hello,


I have a problem to use JScript (I can't use JavaScript) on ASP.NET masterpage.

when I use this script on ordinary ASP.NET page, it works ok.

How can I use script like this on master page?

<Script for="window" event="onload" language="jscript">

if(window.form.txtSomeTextBox.value == "")
{
 window.form.txtSomeTextBox.focus();
}
</Script>

Thanks!


Wojtek



Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP Wizard on Master Page AspNetGuy BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 June 5th, 2008 09:19 AM
Using Master Page in ASp.net 2.0 dilipv .NET Framework 2.0 1 March 4th, 2008 07:00 AM
VS2008 Master page error in <asp:contentPlaceHolde JesseTutterrow ASP.NET 2.0 Basics 1 December 10th, 2007 12:17 PM
ASP.NET and Master Page ayazhoda ASP.NET 2.0 Basics 5 May 14th, 2007 04:22 PM
Asp (master-)detail's page future's records viewin karib Classic ASP Databases 15 March 23rd, 2004 02:30 PM





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