Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #33277

Re: Another generic set of questions

Newsgroups comp.lang.javascript
Date 2017-05-11 09:22 -0700
References <3fd5a513-0a05-44de-b3a3-a752caf99e8d@googlegroups.com> <6d39632b-1698-475e-8a5d-2ffe3b8b6d37@googlegroups.com>
Message-ID <a8a302c6-3303-415f-bb96-fe216ef850b0@googlegroups.com> (permalink)
Subject Re: Another generic set of questions
From justaguy <lichunshen84@gmail.com>

Show all headers | View raw


On Thursday, May 11, 2017 at 11:51:42 AM UTC-4, justaguy wrote:
> On Wednesday, May 10, 2017 at 7:57:22 PM UTC-4, justaguy wrote:
> > First, on the business functions in the web space for JavaScript, my rudimentary understanding is:
> > * Data Input
> > Via web form for data validation and input, particularly the latter. For instance, we can construct as many input elements as the user wants on demand.
> > * Data Display/Presentation
> > For instance, hide a section but to show it upon a click (but this seems more CSS style.display on and off).
> > * Data Storage (local storage with HTML5?)
> > Never use it, not too sure of its value...
> > 
> 
> I'd like to add, in sum, DOM manipulation.
> 
> 
> > Anything to add or change on the above?
> > 
> > Secondly, on the practical use or technical side of JavaScript, let's skip various standards for now, let's start with the following:
> * array
> * object
> 

* variable
of two types:
local variable and GLOBAL variable

> > * function(s)
> > three types:
> > (1) named function
> > such as 
> > function addAnotherField() {}
> > (2) "unnamed" function ?
> > such as
> > var addSection = function(sectionID) {}
> > (3) "safe" function
> > /* safe in the sense that var(s) inside function would be safe, 
> > not run into conflict with same name var(s) else where in the same file
> > */
> > such as
> >  (function() {}
> >  })();  
> >  
> > * event(s)
> > a way to call a JavaScript function
> > for instance, onclick.
> > 
> > * special "object"?
> > for instance, this, for the current object.
> > Question, anything seems to "this" in JavaScript that has a special purpose?
> > 
> > Please add or edit the above and continue.
> > 
> > Thanks.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Another generic set of questions justaguy <lichunshen84@gmail.com> - 2017-05-10 16:57 -0700
  Re: Another generic set of questions justaguy <lichunshen84@gmail.com> - 2017-05-11 08:51 -0700
    Re: Another generic set of questions justaguy <lichunshen84@gmail.com> - 2017-05-11 09:22 -0700

csiph-web