notify users when changed database

I don’t want Ajax request to be sent every 2 seconds. Is there a way to send me a notification only if the database changes in a certain meta? You can’t watch the database for changes like this. The most you could do is add filters on post meta changes on the PHP side to … Read more

how to make this work with jquery 1.12.4 [closed]

If you only have one iframe, just set the iframe’s src attribute in the .show() callback function. <script type=”text/javascript”>//<![CDATA[ jQuery(window).load(function($){ setTimeout(function(){ $(‘.hidden_div’).show(function(){ $(this).find(‘iframe’).attr(‘src’, ‘https://example.com/’); }); }, 5000); });//]]> </script> If you need more dynamic code, remove the src attribute of the iframe, and add a new attribute with the url like so <iframe data-src=”https://example.com/”></iframe> And … Read more