faqts : Computers : Programming : Languages : PHP : Function Libraries : Control Structures

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

22 of 25 people (88%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

Can you use a control like onBlur (in javascript) in php,if focus leaves a function starts

Apr 14th, 2002 18:37
Narendra Jain, Peter Marcoen,


This is not possible in PHP. 
PHP is a server side language, while Java Script is a client side 
language. So, in PHP, the data comes over to the server after the form 
is submitted. Java Script acts on the form on the client side.