I am having a small issue with a 'toggle' feature I'm trying to implemt into my website.
Here is my DEMO.
Here is my jQuery so far:
$('#more').on('mousedown', function () {
$('.texto').toggle();
$('span#buttonone','#more').toggle();
$('span#buttontwo').css('display','block');
});
When I click 'Read More', I'd like to change the text to say 'Hide' and vice versa. Currently, as you can see from the demo, it is breaking & showing both at the same time.
I've a feeling I may be over-engineering this and it's probably a lot simpler than I've made it.
Can some kind gent/lady help out a little? :-)