jQuery Tutorial by "The Morpheus Tutorials in german

Youtube Tutorial Link The Morpheus Tutorials

Lets start with the first part now

I learned it several years ago and did repeat more than one time but if you dont learn it on a constant basis you tend to forget things pretty fast :/
Click this paragraph to hide it instantly.

  • this refers only to the object you selected

Work with events




Effects

Iam a BVB supporter

Callbacks and Chaining

You can code JS in jQuery. Its no problem at all :) and mega useful.
A chain is when you chain different functions together for one element and a callback means you call an event on an element and call another function on an element immediately after it.






Manipulate HTML elements

its like getElementById with JS.

  • text()
  • html()
  • val()

Change Attributes

Append and Prepend, After and Before

  • Append: It attaches sth at the end of an element
  • Prepend: It attaches sth at the beginning of an element
  • After: It creates a new html element for the text and adds the text at the end and if you add more times it will be accumulated
  • Before: It creates a new html element for the text and adds the text at the beginning and if you add more times it will be accumulated

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,s

© Entrepreneur87 2018