Sure.  You can have JavaScript load a PHP URL in your onChange.

I forget how JavaScript does it, exactly, but if you have sample
JavaScript/ASP code, just alter the part that says "...asp" to "...php" and
it'll work just fine.

Note that some browsers have no JavaScript or users turn it off, so you
shouldn't have any critical functionality in this.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Mailinglists <[EMAIL PROTECTED]>
Newsgroups: php.general
To: PHP List <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 4:53 PM
Subject: remote scripting objects


> I don't know if it's IIS or ASP that handles this, but there's a beast
> called a remote scripting object.  It combines JavaScript and ASP to call
a
> remote script on your server without having to submit your browser or load
> a new page.  SO I can add a value to a form field and in the onchange
event
> for that form call a function which resides in a script on the server, it
> hits a database or whatever and then returns a value that I can display on
> the same page.
>
> Is there any way to do this within a PHP script on Linux?
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to