I've tried to read up on possible soln(s) but can't seem to find what I'm looking for.
Also, I'm not a front-end guy, so have no understanding of eg javascript and associated techniques/jargon; strictly a back-end programmer.
Anyway, we want to setup an http check from a nagios server (no gui) to login to a remote website/page and time how long it takes.
Problem is that from a browser, using show src, there seems to be no difference whether logged in or not.
It appears (see below) that the username/passwd area is inside a frame loaded by javascript. (I think?)
Hopefully the below will help explain, obfuscated where reqd.
So, I need to somehow 'trigger' the frame or get it? so that I can then put in user/passwd and submit it<title>My Frame</title> <script type="text/javascript"> function frameLoad() { var frame = document.getElementById('my-frame'); blah blah } more stuff ... <div id="content"> <div class="padded"> <iframe id="my-frame" src="/some/path/myframe" scrolling="no" width="100%" height="0" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" onload="frameLoad()" > </iframe> </div> </div>
If you need more info, just ask.
As I say, I'm not familiar with this sort of programming, so apologies if its a bit vague.
Cheers
Chris
PS Used to have pm acct yrs ago :) , but its been while since I posted last.
In reply to www::scripter & javascript frame by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |