SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=DIV ATTR=CLASS:total&&TXT:food:* EXTRACT=TXT
SET !VAR1 {{!EXTRACT}}
SET !EXTRACT NULL
SET !VAR1 EVAL("var d=\"{{!EXTRACT}}\"; if(d != "food:20000"){d=d+1000;refresh;} else d;") <-why can't compare?
pls help me. how to compare extract value?
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Re: pls help me. how to compare extract value?
SET !VAR1 EVAL("var s1=\"12345\"; var s2=\"12345\"; if (s1==s2){3;} else {iimPlay(REFRESH);} ")
why it said refresh undefined here?
use window.location.reload(); also undefined??
why it said refresh undefined here?
use window.location.reload(); also undefined??