php function call on clik event

Reply

Join Date: Jul 2009
Posts: 15
Reputation: sharal is an unknown quantity at this point 
Solved Threads: 0
sharal sharal is offline Offline
Newbie Poster

php function call on clik event

 
0
  #1
Jul 5th, 2009
hello every 1
is it possible to call a user define php function on the clik event of a button
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 15
Reputation: sharal is an unknown quantity at this point 
Solved Threads: 0
sharal sharal is offline Offline
Newbie Poster

Re: php function call on clik event

 
0
  #2
Jul 5th, 2009
hello every 1
is it possible to call a user define php function on the clik event of a button (on html page)
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 1,361
Reputation: almostbob has a spectacular aura about almostbob has a spectacular aura about 
Solved Threads: 164
almostbob's Avatar
almostbob almostbob is online now Online
Nearly a Posting Virtuoso

Re: php function call on clik event

 
0
  #3
Jul 5th, 2009
Directly no
php is finished on the server before the page is sent
javasript runs on the users browser and can respond to onclick events
the combination of javascript and php to get user events and resend something in php from the server is called ajax
depending on the simplicity/difficulty of the unstated effect you want to a cheive a javascript or ajax will accomplish it.
Failure is not an option It's included free, you don't have to do anything to get it
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it

Please mark solved problems, solved
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 15
Reputation: sharal is an unknown quantity at this point 
Solved Threads: 0
sharal sharal is offline Offline
Newbie Poster

Re: php function call on clik event

 
0
  #4
Jul 5th, 2009
Thnxxxxxxxxxxxxxxxxxxxxxxxxxx
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC