jQuery Selectors and Methods
Write jQuery code for following effects
- Set background color yellow for h1,p,p and textarea elements subsequently.
- There are two elements in the page: checkbox and button. By default the button is disabled. When the checkbox is marked, the button is enabled.
- Add image in web page with size 100X100. When clicking on button image size zoom to 500X300. Do it using attr() method.
- Change the contents of the paragraph using html() method.
- By clicking on the button create a copy of p tag into div tag.
- Demonstrate at least 5 mouse events with your creative ideas in tutorial 1 web pages.
- Demonstrate keyboard events with your creative ideas in tutorial 2 web pages.
- Creating animation on clicking a button that continuously changes the height and width of the box.
- Demonstrate hide() and show() effect.
- DemonstratefadeIn(),fadeOut(),fadeToggle(), fadeTo() with creative ideas.
************************************************************