Where is the disabled class?


#1


Where does the 'disabled' class come from for when we're working with ('.btn'), unless I'm being very blind its not under the CSS tab.

Is 'disabled' a coded class rather than a class we create?


Replace this line with your code.


#2

@tagcoder00645,

# status update

class-name disabled....

Where is style for that class?
Styling is an Attribute of an Element.
In the style.css-file
I was wondering where is disabled class.

The "disabled" class-name is -set- by you via the Javascript app.js
as an additional class Attribute of
the a-Element, which you identify by the class-name "btn"

The sole purpose of the "disabled" class-name
is to have an indication, if the
identified by the class-name "status-box"
has 1 or more characters -set-

If the a-Element has the _"disabled" class-name as a class Attribute set,
the Button-Functionality is Blocked.
( you use the Bootstrap-functionality )

Reference::

http://getbootstrap.com/javascript/

- - - - - - - - - - - - S t a t u s U p d at e - - - - - - - - - -

= = = = = = = D ocument O bject M odel = = = = =

                     2html
                       |
        |--------------+-----------|
      3head                      8body
        |                          |
  |-----|+----|                    |
  |     |     |                    |
4link 5link 6link                9div
                                   |
  |----------------|---------------+---|--------------|
  |                |                   |              |
10form           15div(.button-group 20ul         24script(2x)
   |                |  .pull-right)    (.posts)    25script
11div(.form-group)  |
   |                |
12textarea          |
    (.form-control  |
    .status-box)    |
                    |
         |----------+----|
       16p(.counter)   17a(.btn
         |               | .btn-primary)
        text            text
        node            node

google search
== the Book ==
jquery [your question] site:developer.mozilla.org
CSS [your question] site:developer.mozilla.org
javascript [your question] site:developer.mozilla.org
[your question] site:jquery.com
[your question] site:getbootstrap.com

== discussions / opinions ==
jquery [your question] site:stackoverflow.com
CSS [your question] site:stackoverflow.com
javascript [your question] site:stackoverflow.com

== guidance ==
www.crockford.com
[your question] site:crockford.com
- - http://javascript.crockford.com/code.html << Javascript coding convention
- - http://javascript.crockford.com/survey.html

http://stackoverflow.com/questions/1795438/load-and-execution-sequence-of-a-web-page
http://www.w3schools.com/jquery/trysel.asp
http://www.w3schools.com/jquery/jquery_ref_selectors.asp
++ bootstrap
http://getbootstrap.com/getting-started/
http://getbootstrap.com/2.3.2/components.html
We now have .col-xs (phones), .col-sm (tablets), .col-md (desktops), and .col-lg (large desktops).