well that's basically a javascript and not perl question. however, javascript already handles DOM manipulation quite well and you can set timer events to click button or whatever. in other words whilst in server side languages (liek perl) you're dealing with the html document, in javascript you interact directly with the browser document object model of the document and everything else that represents the browser/client environment. it's much easier if you use a library such as jquery. anyway, you're going to run into the problem of same origin policy for your javascript code, and you'll need to read up on this problem and potential workarounds. it's not trivial to work around the same origin restriction, just to let you know.
the hardest line to type correctly is: stty erase ^H
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|