faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 3 people (67%) answered Yes
Recently 2 of 3 people (67%) answered Yes

Entry

How do I specify php code for input onchange events

Feb 21st, 2007 04:42
Articles Hosting, Henrik Hansen, Dave Silvia,


You can't put php directly into an onchange event because thats mixing
client side code with server side code. What you can do, is using some
AJAX functionality to call a php backend script on your server, which
can handle the things you want it to do. The url below will show you
more about AJAX and has links to some tutorials:
http://en.wikipedia.org/wiki/AJAX
=====
greywyvern.com/code/php/htmlwrap.phps
i hope that helps:
http://americanahost.com
http://www.qwesz.com