get HTML content by jQuery

By | JQUERY | No Comments

jQuery contains powerful methods for changing and manipulating HTML elements and attributes. Get Content – text(), html(), and val() Three simple, but useful, jQuery methods for DOM manipulation are: text() – Sets or returns the text content of selected elements html() – Sets or returns the content of selected elements…

Read More

Animation in jQuery?

By | JQUERY | No Comments

Animation is another jquery effect that used to animate html elements by using animate(). We can create our customize animation. Syntax : $(selector).animate({params},speed,callback); OUTPUT : Start Animation By default, all HTML elements have a static position, and cannot be moved. To manipulate the position, remember to first set the CSS…

Read More

jQuery slideToggle() Method

By | JQUERY | No Comments

he jQuery slideToggle() method toggles between the slideDown() and slideUp() methods. If the elements have been slid down, slideToggle() will slide them up. If the elements have been slid up, slideToggle() will slide them down. $(selector).slideToggle(speed,callback); OUTPUT : Click to slide the panel down or up Hello world!

Read More