Cesar Aracena
asked on
Do something in jQuery only if event is not fired
Hi guys,
I have a setInterval event in a page that refreshes a DataTable and I would like it to also refresh the timedate in a datetimepicker widget but ONLY it the widget is not being shown. According to THIS PAGE I could listen to the "show" event.
How can I say, inside my setInterval event something like "IF THE DATETIMEPICKER IS NOT SHOWN, DO THIS".
Thanks in advance.
I have a setInterval event in a page that refreshes a DataTable and I would like it to also refresh the timedate in a datetimepicker widget but ONLY it the widget is not being shown. According to THIS PAGE I could listen to the "show" event.
How can I say, inside my setInterval event something like "IF THE DATETIMEPICKER IS NOT SHOWN, DO THIS".
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.