[jQuery] Re: button value change

2009-11-12 Thread David pr
Thanks but this won't work for a ? David

[jQuery] button value change

2009-11-11 Thread David pr
Hello, I had an More details $(this).text($(this).text() == 'More details' ? 'Hide details' : 'More details'); and on click I changed the text from more to hide I had to change the How do I change the value text on click ? David

[jQuery] Re: .hide and .show div's

2009-11-11 Thread David pr
Thank you all i've (you guys) crack it.

[jQuery] .hide and .show div's

2009-11-11 Thread David pr
Hello, Could you help me please. I have a list of hotel which I .hide and .show div's to show more or less info. so i have when the user press a button I use the code var Hcode = $(this).attr("custom"); $('div.Hide-' + Hcode).toggle(); but when the page loads how do I hide this div automatic