I have the following jquery code that allows me to use tabs, to tab back and fourth between content/divs. My question is using the code below, how could I have it load the i
Hopefully this will help: -
var tab_id = $(this).attr('href'); var split = tab_id.split('#'); split = split[1]; if (split = "page 2") { window.alert(split); } else { // Default condition }
JS Fiddle Example here - http://jsfiddle.net/aNMBW/