Using 3 buttons in single page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashish1779
    New Member
    • Jan 2008
    • 5

    Using 3 buttons in single page

    hi i am new in php , and i am using 3 press button in single page one submit button and 2 normal buttons, submit button for saving a text and other 2 i wann use for scrambling a text and other one for find and replace a word, how to use these 2 button please help me.

    i my case when i press any 2 button they work same.
  • rpnew
    New Member
    • Aug 2007
    • 189

    #2
    Originally posted by ashish1779
    hi i am new in php , and i am using 3 press button in single page one submit button and 2 normal buttons, submit button for saving a text and other 2 i wann use for scrambling a text and other one for find and replace a word, how to use these 2 button please help me.

    i my case when i press any 2 button they work same.
    Hi,
    You need to use the onclick event of other two buttons...
    You can call the function you want on onclick event...

    Regards,
    RP

    Comment

    • Markus
      Recognized Expert Expert
      • Jun 2007
      • 6092

      #3
      Originally posted by rpnew
      Hi,
      You need to use the onclick event of other two buttons...
      You can call the function you want on onclick event...

      Regards,
      RP
      Which is JavaScript, not PHP. Ask over there :)

      Try and be a tad more descriptive too..

      maybe read some tutorials for onclick then attempt it yourself and post the code you used on the forum.

      Comment

      Working...