I still donât get your idea.
Please tell me what should exactly happen if the trackno is not equal to 100? what do you call actions? Are these values to be returned? Should they be returned at once? I donât understand you
varResendTimer was initialised at a value of 45
am reducing the value of varResendTimer by 1 with each passing second using this scheduler - hence it is like a timer.
now once the varResendTimer value reaches 0, want to stop the scheduler and also reset the value of varShowResendLink to 1.
at this point, the scheduler stops (have verified) but the value of varShowResendLink is not set to 1.
I remember reading somewhere that the latest chrome tries to be really smart in saving system resources so it âfreezesâ a tab when you switch away.
Inactive tabs are throttled, intervals and timeouts are throttled to around 1000ms (Chrome and Firefox) and requestAnimationFrame is paused on Chrome when the tab is inactive. I believe the Scheduler uses the requestAnimationFrame.
Trying to implement this logic with a conditional based on cookie
I set a cookie with two possible values.
If cookie value ==âYesâ I want to dmx-bind:value=âa valueâ
If cookie value ==âNoâ I want to dmx-bind:value =âanother valueâ
Trying with no success. Any help much appreciated
Thank you!
This is the actual code. Know it is wrong but this how it currently is <input type="text" name="orderAmount" id="orderAmountgr" dmx-bind:value="(cookies1.data.currency=='EUR' ? setValue(orderAmountPreviewgr.value) :(api_get_rates.data.rates.EUR*orderAmountPreviewgr.value).formatCurrency(' ', '.', ',', '2')">
What is that thing you are trying to setvalue to? Is it the orderAmount input itself?
Also - where is the: orderAmountPreviewgr.value coming from - what is it?