Wrox Programmer Forums
|
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 March 31st, 2011, 09:38 PM
Registered User
 
Join Date: Mar 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default N00b Question

Hi

Is there a way that I can define read-only variable (Boolean, String, ...) in Javascript class? (I really don't want to use GET and SET method, basically defining them in Constructor, as every instance of my class wouldn't have the same SET and GET method) Maybe this would be an easier question, Navigator class has some read-only properties such as appName, ..., How did they do that?


Thanks in advance.


--
Mark





Similar Threads
Thread Thread Starter Forum Replies Last Post
FindControl question and a MasterPage question about controls Rushino ASP.NET 4 General Discussion 3 September 11th, 2010 03:17 PM
Disappearing UserName & Question within Customized PasswordRecovery Question Template eddiemcham ASP.NET 3.5 Basics 13 June 13th, 2009 04:23 AM
XSLT n00b question rockypg XSLT 4 October 3rd, 2006 10:23 AM
3 asp.net n00b question, please help ^_^;;; CSharp1314 Classic ASP Basics 5 May 7th, 2004 02:08 AM





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