1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Finland, Hanko
    Rep Power
    Can I call function like they are called in JavaScript, in events like Onclick and so on.
    for examle like this :
    <input type='submit' value='remove' onclick='remove($current)'>
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Rep Power

    No, You can't do that in php.Because Php program is working in serverside.
    That is only possible in client side scriptings(eg: javascript).

    SR -

    "The fear of the LORD is the beginning of knowledge..."

Similar Threads

  1. Calling 2 functions with 1 submit button
    By coloradoguy in forum HTML Programming
    Replies: 4
    Last Post: January 4th, 2004, 07:44 PM
  2. JS: Calling two functions
    By Meltdown in forum HTML Programming
    Replies: 6
    Last Post: October 21st, 2003, 06:24 PM
  3. calling functions
    By Angelo in forum C Programming
    Replies: 1
    Last Post: October 10th, 2003, 12:54 PM
  4. Calling functions from other files
    By Icecore in forum C Programming
    Replies: 8
    Last Post: October 7th, 2003, 08:48 AM
  5. calling functions with onmouseover problems
    By tcras in forum HTML Programming
    Replies: 2
    Last Post: August 31st, 2003, 07:06 AM

IMN logo majestic logo threadwatch logo seochat tools logo