RE: MOA web page forms question

From: Leif Sawyer <lsawyer@gci.com>
Date: Wed Sep 08 2004 - 12:35:35 AKDT

Just to keep it fun, I'll keep top posting. Whee!
The problem with the page is that it's using _VERY_ old javascript.

Notice in your 'tools' menu, you've got a 'JavaScript Console'

When you click on the 'submit' or 'reset' button, there are errors.

        Error: document.all has no properties
                Source File: http://pas.ci.anchorage.ak.us/pas/modules.js
                Line: 30

function onClick (color) {
 // tech serv added comments here
 //green means submit or enter was pushed
 //red means reset was pushed
        if (color=="green") {
                document.all.btnSearch.src = "images/submitbutton.GIF";
        } else if (color=="red") {
                document.all.btnReset.src = "images/resetbutton.GIF";
        }

        var string = "onClick2('"+color+"')"; //validate form fields - TS
comments
        clearTimeout();
        setTimeout(string,30);
        // launch function to resend refresh command if necessary - 4/17/02
jac
        string = "refreshTimer()";
        intID = setInterval(string,1000);
}

as document.all is no longer supported....
The developer cheated, instead of coding properly.

> -----Original Message-----
> From: Stanley Long [mailto:slong@customcpu.com]
> Sent: Tuesday, September 07, 2004 1:47 PM
> To: aklug@aklug.org
> Subject: Re: MOA web page forms question
>
> top posting a reply to my own :-)
>
> On Tue, 2004-09-07 at 10:42, Stanley Long wrote:
> > MOA building safety web page permit finder doesn't
> cooperate w/ my new
> > Firefox. Could someone try it
>
> Three helpful off-list replies indicate that
> 1) the web page specifically looks for Internet Explorer, and
> 2) Konqueror does just fine as long as it spoofs itself as
> Internet Explorer 6.0.
>
> > and offer an opinion as to corrective action?
> >
> I haven't developed ANY skill writing web pages, The suspect
> wemaster probably doesn't intentionally lock out non IE
> users, but the tools get it done by default. Is it a simple
> thing to reset such defaults to allow Mozilla/Galeon/Firefox
> or native Konqueror in the door w/o worsening their security
> protections?
>
> > Go to http://pas.ci.anchorage.ak.us/pas/permitreports.cfm
> >
> > In the 2nd box (Permit #:) enter "04 5800".
> >
> > Cookies are required. My Firefox is v0.9.3 I can enter the permit
> > number, but neither the submit nor the reset buttons respond.
> >
> > Thanks.
> >
>
>
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org> with
> 'unsubscribe' in the message body.
>

-- Binary/unsupported file stripped by Ecartis --
-- Type: application/x-pkcs7-signature
-- File: smime.p7s

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Sep 8 12:35:43 2004

This archive was generated by hypermail 2.1.8 : Wed Sep 08 2004 - 12:35:45 AKDT