↧
Answer by Akshay Chawla for Target this function to a particular div
You dnt need to do anything, just change div selector to id#Africa selector$(document).ready(function(){ $("button").click(function(){ $("#africa").animate({ height: 'toggle' }); });});
View ArticleAnswer by Will for Target this function to a particular div
Use the id selector.$("#africa").animate({ height: "toggle"});
View ArticleTarget this function to a particular div
I want to target this function to just the first div With the div id="africa".css:#africa{width:16%; height: 20%; background-color:#33CC33;}#asia{width:16%; height: 20%; background-color:...
View Article