Hi everyone, The problem: A css script has 5 buttons, on click of button 1 , i need to display a text on the same page in a fixed region(maybe by using frames or writing a hidden function and then doing show()). If second button is clicked show some other text in that region . Similarly for other buttons. What would be the most efficient way of doing this. (fastest loading of page).
I'd use jQuery, saves a lot of code. Then just have: $('.button-one').click(function(){ $('.area-one').text('some text'); }); $('.button-two').click(function(){ $('.area-two').text('some text'); });