0

hey, I want to write a small snipet which will first prompt the user to input a javascript command, and then execute that command on the current page. Is there any way to do it??

say the prompt is like:

javascript: prompt();

(its working)

and the command is :

javascript: document.units.attack.click();
2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by scrager
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.