Yes, the second one is what I’m looking for.
Thanks @ZoomIt!
function checkDom() {
if ($('#element').length != 0) {
console.log('true');
} else {
console.log('false');
setInterval(function () {
checkDom();
}, 1000);
}
}
checkDom();
Hey guys,
I need help with some javascript:
I need to check if a dom element exists and if it returns true run some code else check again. I need to run this check every 100ms.
Thanks
Congrats mate 
Renault Megane

Here’s mine 

nickys said
Yes, that’s definitely possible!
You could sell this script here on CodeCanyon just to pay off the time you spend developing this 
No problem 
At the moment I’m using a WordPress Plugin that runs on my server made by JustinScheetz to get Push Notifications via the Pushover App.
Just wondering if it would be difficult to create a script/plugin that we could run on our own server to get the Push Notifications on the GreenPaw App. This would solve the server costs issues for you. Would this be difficult to achieve? 
Cheers
nickys said
Will see how it goes after launch on the App Store. It all goes down to money, because running push notifications isn’t cheap![]()
You can use Pushover API to send push notifications to the Pushover APP, and it’s free. I think you should include it.
nickys said
You have an invite![]()
The app looks very nice, I like the colors and the current features. I would love to see push notifications and some features that have been suggested before like total sales, current commission rate, how much $ for the next commission rate and next paw, the rating/sales/revenue for each item, etc.
Until you decide if you want to include push notifications naively, you could use this service temporally, is better that nothing.
I will be willing to pay more that 1.99 for this app if this includes some of the suggested features.
Good luck 
