I read on another thread that you can execute a javascript function without leaving the page using that syntax. Why doesn't this work:
VERSION BUILD=6000818
CLEAR
TAB CLOSEALLOTHERS
SET !ERRORCONTINUE YES
SET !TIMEOUT 10
URL GOTO=www.iopus.com
URL GOTO=javascript:Alert("Hello World");
I get a popup box that says Error #340.
Any explanation?
URL GOTO=javascript
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
- Tech Support
- Posts: 4948
- Joined: Tue Sep 20, 2005 7:25 pm
- Contact:
http://forum.imacros.net/viewtopic.php?t= ... script+urlTech Support wrote:What thread was this?I read on another thread that you can execute a javascript function without leaving the page
It would be great to be able to change the values of page elements via javascript from the imacro.Just to clarify: Do you want to trigger a function that is already inside the page or something else?
-
- Posts: 21
- Joined: Tue Oct 30, 2007 6:57 am
- Contact:
Code: Select all
VERSION BUILD=6000818
CLEAR
TAB CLOSEALLOTHERS
SET !ERRORCONTINUE YES
SET !TIMEOUT 60
URL GOTO=www.iopus.com
URL GOTO=javascript:openDemo('shared/flash/imacros1',820,650);