You can do the same with a button's click event handler if you prefer. Here's a solution to your specific problem. The only way I can think of is to detect a click of the button and then have the button show the div. The logic you are trying to achieve is simply impossible. The :in selector is equivalent to.is(":visible") and is for checking whether an element is currently visible, not whether it was last displayed. I've tried jQuery('#mydiv:in').show() and jQuery('#mydiv:in').toggle() but it didn't work. Author Mugen Ouka chapter 41 onegai () Mugenworks (Akid e79caf774b misaka mikoto mugen character 41 Misaka Mikoto. If (jQuery('#mydiv').is(':in') = true) ) īut is there a more elegant way to do it? The function is called when a button is pressed and that's when I want it to hide/show the element. Other informations: 'Mugen' (Mugen-no-ten) was the Japanese title of a manga and later an anime. Ok, so I have this Javascript function, that I don't know how to make it work.īasically, I'm just trying to make the following code work. her power level and MISAKA Mikoto her Mugen. Mikoto Misaka (MUGEN C) was born as a child on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |