Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript 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 June 3rd, 2005, 05:40 AM
Registered User
Join Date: Jun 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to sharmamilan
Default How to Minimize use of javascript

I have to minimize the use of JavaScript in a portal.
what is the other alternative if we have to replace JavaScript code in a JSP????
Javascript is used for various purposes like Opening and closing new window, form submit and browser settings...
For validating form fields one alternative which i thought of is using java classes for it.
Can any suggest something else..
Old June 8th, 2005, 10:58 AM
nzakas's Avatar
Wrox Author
Join Date: Dec 2004
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts

You don't really have a choice when it comes to opening and closing new windows. For form submissions, you can certainly use the old <input type="submit"/> element and you can just wait to validate the data when the form is submitted instead of doing any of it client-side. You can't really access a lot of browser settings from server-side logic, but you can at least get the user-agent string.

Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)

Similar Threads
Thread Thread Starter Forum Replies Last Post
When I minimize my form and then maximize it again ehsemsar Crystal Reports 0 January 3rd, 2007 08:39 AM
minimize all modal forms m29 VB.NET 0 January 4th, 2005 04:49 PM
Minimize the window qazi_nomi Javascript How-To 3 September 10th, 2004 10:04 AM
Changing minimize button snowy0 VB.NET 3 July 29th, 2004 10:52 AM
Minimize and Maximize bmains VB.NET 7 July 26th, 2004 07:50 AM

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