I keep getting a Return value of underfined...
How would I make this function return the actual html value but by keeping a post occur :
- function clicky() {
- var thisHTML1;
- $(document).on('click', '#htTab a', function() {
- var thisHTML = $(this).html();
- thisHTML1 = thisHTML;
- return false;
- });
- alert("TESTING");
- return thisHTML1;
- }