Re: help getting value of cell and passing to PHP file
- From: "Matt Williamson" <noone@xxxxxxxxxxxxx>
- Date: Mon, 1 Aug 2005 23:39:34 -0400
Yeah, that would be if that were the case. The code is being generated via a
locally run VBScript file using task scheduler on one of my servers. I put
an example of the html output up on my own public webserver here:
http://www.crxtasy.org/ds/drivespace.htm Right now, I have the server name
being written as a hyperlink just using local filesystem links. I thought
about what I'd like to do a little more and decided that I'd rather be able
to click on any cell entry and have it send that value along with the server
and drive to the PHP script so I can have a graph of the server and drive in
question and get the used space or freespace or whatever else I add to the
original script. Is that still workable using the form and hidden fields? I
think that might require some javascript as well though.. I've spent the
last few hours trying to find any examples that would show how to do it, but
I haven't found anything yet.
Thanks for your help
Matt
"Randy Webb" <HikksNotAtHome@xxxxxxx> wrote in message
news:TtydnfXYVaTyV3PfRVn-1g@xxxxxxxxxxxxxx
> Matt Williamson said the following on 8/1/2005 7:05 PM:
> > I see what you're saying. I just figured since I was already using the
> > javascript to sort the table, that it would take less code in javascript
> > than doing the submit in HTML. Any html changes I make will require me
to
> > completely re-write the script that generates the code and adding a
> > javascript function would be the easiest way to do it.
>
> <shrug> code is code, just a different language is all.
>
> But make your drive letters links, that have a URL something like this:
> <a href="drawMap.php?<drive letter here>">Humpty Dumpty Drive</a>
>
> And then the drawMap.php file can pick it up and draw the map.
>
> Since PHP is generating the page every 5 minutes, it would know the
> parameters to add to the URL that it needs, such as drive letter, drive
> name, free space, etc...
>
> And I promise, that is a *lot* easier than trying to have JS do it.
>
> --
> Randy
> comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
.
- Follow-Ups:
- Re: help getting value of cell and passing to PHP file
- From: Matt Williamson
- Re: help getting value of cell and passing to PHP file
- References:
- help getting value of cell and passing to PHP file
- From: Matt Williamson
- Re: help getting value of cell and passing to PHP file
- From: Randy Webb
- Re: help getting value of cell and passing to PHP file
- From: Matt Williamson
- Re: help getting value of cell and passing to PHP file
- From: Randy Webb
- help getting value of cell and passing to PHP file
- Prev by Date: Re: sorting dates
- Next by Date: Re: Opening two frames on one click
- Previous by thread: Re: help getting value of cell and passing to PHP file
- Next by thread: Re: help getting value of cell and passing to PHP file
- Index(es):
Relevant Pages
|
Loading