Jquery toggle hide show question?

I'm going to assume your trying to match all elements with a class called "img". $(". Imgid='myid'").

Click(function() { $('#a,#b').toggle(); }); To allow for multiple IDs $(". Imgid='myid', . Imgid='myid2'").

Click(function() { $('#a,#b').toggle(); }); You can also check for not equals on the id $(". Imgid! ='someid'").

Click(function() { $('#a,#b').toggle(); }).

If you only want this specific element to handle this event then select it and bind the event handler to it. Assuming that at any time there is either #a or #b showing: $('#myid'). Click(function(){ $('#a').toggle(); $('#b').toggle(); }).

If thereare any good books my work said that they will get them for me.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions