I have JQuery code:
$("#step1Skip").on("click", function(event){
$('#chooseTheme, #addImages, #addVideo, #finalStep').hide();
$('#addLogo').show();
});
If I use a button e.g.
<button type="button" id="step1Skip">Skip this step >></button>
This works fine. BUT, if I try the same with a simple link:
<a href="#" id="step1Skip">Skip this step</a>
It does nothing, simply doesn't work. Why is that?
I don't try them at the same time, so it's not an ID issue.