I believe this one in particular is for setting values in forms when a
user chooses to be "remembered".

Matt

On 9/15/05, Allen Gilliland <[EMAIL PROTECTED]> wrote:
> just a general question here ... what is the purpose of doing javascript like 
> this?  i see this stuff spread throughout a number of pages and i don't 
> understand why it's there.
> 
> <script type="text/javascript">
>     ...
> 
>     if (author) {
>         theForm.name.value = author;
>     }
>     if (email) {
>         theForm.email.value = email;
>     }
>     if (url) {
>         theForm.url.value = url;
>     }
> 
>     ...
> </script>
> 
> -- Allen
> 
> 
>

Reply via email to