MLUG: [MLUG] Javascript Code
[MLUG] Javascript Code
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hello Everyone, 

I have never really asked the list for much pertaining to Linux or web
programming, so here is a shot at it.

I need a javascript guru to help me out. I am writing a session timeout
timer for a website. I have everything working just fine currently with
setting the time out and such as that. What I need to do is trap for a form
in one of the frames of the page.

Here is what it needs to do. I am starting a timer when the user first
accesses the page. When the time goes off, a pop-up window opens and asks
the used to confirm if they want to stay online. If the user confirms it
will actually submit the form on this particular page.

What I need to do is write the code to first look for the existence of a
form on the page that launched the pop-up. If a form exists, then submit it,
if there is no form, then refresh the page, restarting the timer.

Like I said, the pop-up and the form submission actually works right now,
and I could easily write two pop-ups one for pages with forms, the other
without, but I would like to stay with one script that could trap for both.

Can anyone help? If you need more information let me know.

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members