![]() 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. 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. 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. CHAR Misaka Mikoto RELEASE - YouTube 0:00 / 1:44 CHAR Misaka Mikoto RELEASE 3,576 views MUGEN 1.1 Character. her power level and MISAKA Mikoto her Mugen. Mikoto Misaka (MUGEN C) was born as a child on.
0 Comments
Leave a Reply. |