Content

Get & Set Content: text()

Make Text Appear / Change Text: html() / on(‘click’, function() {}) / text()

Show Text when Clicked: append() / append() / append()

Show Attribute Data when Clicked: append()

Make Element Appear: show() / fadeIn() / css(‘prop’, ‘value’)

Make Element Disappear: hide() / fadeOut() / css(‘prop’, ‘value’)

Toggle Button: slideToggle() / slideToggle()

Link Toggle: slideToggle()

Remove Element: remove()

Set Element’s Attribute: attr(‘prop’, ‘value’);

Add / Remove Class: filter().addClass()

Add / Remove Class on Hover: addClass() / removeClass()  / on(‘mouseenter’, function() { })

Show Text on Hover: slideToggle()

Move Click Element to Top: prepend()

Shuffle Children: sort()

Sticky Table Header: https://css-tricks.com/examples/PersistantHeaders/

Accordion: https://css-tricks.com/snippets/jquery/simple-jquery-accordion/

Smooth Scrolling: https://css-tricks.com/snippets/jquery/smooth-scrolling/

Popup Menu: https://css-tricks.com/snippets/jquery/styled-popup-menu/

Advertisements

About bernadetteengleman

Hello, I am Bernadette from New York City. I moved here from Chicago in 2013. I am originally from the Philippines. I started studying web programming in 2015. I love it because I like making fun websites and web apps. The projects that I built so far are posted below. I like to cook and I love to travel. I also like to volunteer and I am a team leader with the non-profit organization, NYCares.
This entry was posted in jQuery and tagged , , , , , , , , , , , , , , , , , , , , , , , , . Bookmark the permalink.