Jquery Toggle two function not work in jquery 1.10.1 but work\'s on Jquery 1.8.3
HTML
For example, consider the HTML:
This format was removed in version 1.9, so you cannot use it - if you want this logic can be manually implemented or you can make use of the migration plugin
to include the migration plugin, after the inclusion of jQuery library add