Thursday, 4 February 2016

Hiding text for screen readers with WordPress

//For issue of "Hiding text for screen readers with WordPress"

var P_title='';


jQuery( ".dropdown-toggle" ).hover(function() {
P_title=jQuery(this).text();
});


jQuery( ".dropdown-toggle" ).click(function() {
jQuery(this).text(P_title);
});

No comments:

Post a Comment

Alternative content