Toggle The Function Jquery- To toggle any action, use the following simple code.
$('element').toggle(
function() {
//Rotate or do some action
},
function() {
//Rotate back or do some action
}
);
Toggle The Function Jquery- To toggle any action, use the following simple code.
$('element').toggle(
function() {
//Rotate or do some action
},
function() {
//Rotate back or do some action
}
);