So here is the JQuery code that will keep the link text but will change it by just a spanned text:
//
// Hide link after click
//
$('.hideAfterClickLink').click(function(e) {
$(this).replaceWith('' + $(this).text() + '')
});
//
// Hide link after click
//
$('.hideAfterClickLink').click(function(e) {
$(this).replaceWith('' + $(this).text() + '')
});
Nestor Urquiza is a hands-on technologist, security-first thinker and results-oriented business executive. An Electronics Engineer dealing with hardware, embedded/web software development, security, compliance and full business funnel process engineering. Keeping things simple and innovating top-down, from Marketing to Accounting.
No comments:
Post a Comment