[Javascript]Passive,Javascript-callable,in-line(PHP)codereferences wit

Andrew Gibson andyg at ihug.co.nz
Wed Apr 9 20:41:25 CDT 2003


> > <a href=javascript:parent.frames['hidden'].getData()><Get data from
>server</a>
> >
>
>Works great -- but only if the routine 'getData' is in fact JavaScript.
>Doesn't work at all if the code is ASP, PHP, or
>whatever server-side language is the lingo de jour.  Hardly seems worth it,
>since I can "src" my JavaScript routines directly into my header anyhow.
>

I thought that was the point....have a javascript function facilitate
accessing the server AFTER the page has loaded, via user interaction on the
page, without refreshing the page.....eg to send an email...add stuff to a
database.....perhaps I missed the bus again though !




More information about the Javascript mailing list