473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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.
Jan 29 '08 #1
2 1031
rpnew
188 100+
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
Jan 29 '08 #2
Markus
6,050 Expert 4TB
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.
Jan 29 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Newbie | last post by:
I currently have a set of simple calculations to determine square footage and multuply that by a dollar amount per foot. I use form fields that are filled in by the user, and then the Submit...
4
by: Bob Lehmann | last post by:
Hi, I pretty sure I've seen this problem addressed before, but I can't find any references. The short story is that I have I have multiple submit buttons on a page, each providing different...
9
by: Krunom Ancini | last post by:
Hi, I have on my page something about 50 buttons that "user" should use only for loading some session-variables: click on the button -> session variables loaded and i wish that after...
2
by: RN | last post by:
I am dynamically adding a number of HTML buttons to a page... <input type="submit" name="alwaysthesame" id="different1" value="alwaysthesame"> <input type="submit" name="alwaysthesame"...
11
by: Grischa Brockhaus | last post by:
Hi, I'm trying to produce a div layout containing a header on the top with fixed height, a footer on the bottom using fixed height and a content layer using what's left of the browsers window. ...
4
by: wim taerwe | last post by:
Hello, I am looking for an easy way to have a delete button per subitem in 1 form. For example : a book can have many authors and when I edit the book details I want to have a list of the...
1
by: =?Utf-8?B?RXJpayBBZGFz?= | last post by:
Somebody can help me with the next problem. In an application with ASP pages and SQL Server 2000, there are buttons developed with dream weaver, in customer instalations those buttons work with...
3
by: =?Utf-8?B?UGxhdGVyaW90?= | last post by:
I have link buttons in a Gridview that, depending on the value in another column (Not the Key column) will need to be disabled. For example, (Column2 has link buttons) Column1 ...
7
by: Petr Vileta \(fidokomik\) | last post by:
I have a form with few text inputs. Every text input is followed by image type input. In this form I want to have 1 submit button on the top. A problem I want to resolve is: when user type...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.