473,408 Members | 1,707 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,408 software developers and data experts.

Submit a form without using a button?

gb
Within a form, the usual way of submitting it is to use e.g.

<INPUT TYPE="submit" VALUE="Send ">

This produces the standard button. Is there an easy way to portray this as
though it were a simple hypertext link?

Second question: Is there any way to customize a submit button other than
the text that it displays? i.e. can I change the colour and/or size?

Thanks to anyone who can help

--
news@REMO*VEbusipages.com
Jul 23 '05 #1
11 12660
On Fri, 24 Dec 2004 15:26:58 GMT, gb <news@REMO*VEbusipages.com> wrote:
Within a form, the usual way of submitting it is to use e.g.

<INPUT TYPE="submit" VALUE="Send ">

This produces the standard button. Is there an easy way to portray this
as
though it were a simple hypertext link?
Doing so would be confusing to the user. AFAIK, that isn't possible.
Second question: Is there any way to customize a submit button other than
the text that it displays? i.e. can I change the colour and/or size?


See http://www.w3.org/TR/html401/interac...tml#edef-INPUT for what
can be done in the HTML, and you can apply some CSS as well.

IIRC not all browsers allow the color to change. But there is the src
attribute to use an image as the button.

Jul 23 '05 #2
"gb" <news@REMO*VEbusipages.com> wrote:
Within a form, the usual way of submitting it is to use e.g.

<INPUT TYPE="submit" VALUE="Send ">

This produces the standard button. Is there an easy way to portray this as
though it were a simple hypertext link?

Second question: Is there any way to customize a submit button other than
the text that it displays? i.e. can I change the colour and/or size?


You need CSS. However, the effectiveness of CSS for any form control
is browser-dependent (perhaps because browsers typically borrow
existing controls from the operating system and have only just so much
leeway to change them). If I use the following styles:

border: none;
background-color: transparent;
text-decoration: underline;
color: blue;

IE displays an underlined blue label without border or background;
Mozilla and Firefox do the same except without the underline; and
Opera shows a button with no background and a blue label without the
underline.

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 23 '05 #3
Yes it can be done with the help of javascript

Using anchor tag:
example
<form name=test action=ccccc>
......
......
</form>

<a onmousedown="ssub()" style="cursor: pointer;">jjjjj</a>

Here we call a javascript function on mouse press. The style is
required to make a mouse pointer, as we won't use href tag.

in the javascript function we will submit the form
<script language=javascript>
function submitss()
{
documnet.test.submit();
}
</script>

using a image in button
http://www.hscripts.com/tutorials/html/form3.php
Hope this explains.

-
haido
http://www.hscripts.com

Jul 23 '05 #4
or make the patties (see index)
then fry or bake.
Set aside to drain on paper towels.
Make a roux with butter, oil and flour,
brown vegetables in the roux, then add chicken stock and
allow to simmer for 20 minutes.
Add the patties or stuffed heads, and some loose crawfish,
lobster, long piglet, or what have you.
Cook on low for 15 minutes, then allow it to set for at least
15 minutes more.
Serve over steamed rice; this dish is very impressive!

Stuffed Cabbage Rolls

Babies really can be found under a cabbage leaf -
or one can arrange for ground beef to be found there instead.

8 large cabbage leaves
1 lb. lean ground newborn human filets, or ground chuck
Onions
peppers
celery
garlic
soy sauce
salt pepper, etc
Olive oil
breadcrumbs
Tomato Gravy (see index)

Boil the cabbage leaves for 2 minutes to soften.
In skillet, brown the meat in a little olive oil,
then add onions, peppers, and celery (all chopped finely)
and season well.
Place in a large bowl and cool.
Add seasoned breadcrumbs and a little of the tomato gravy,
enough to make the mixture pliable.
Divide the stuffing among the cabbage leaves then roll.
Place seam down in a baking pan.
Ladle tomato gravy on top,
and bake at 325° for 30 -
Jul 23 '05 #5
with this dish by utilizing her good
silver soup tureen and her great grandchildren (crawfish, crab or
lobster will work just as well, however this dish is classically
made with crawfish).

Stuffed infant heads, stuffed crawfish heads, stuffed crab or lobster shells;
make patties if shell or head is not available
(such as with packaged crawfish, crab, or headless baby).
Flour
oil
onions
bell peppers
garlic salt, pepper, etc.
3 cups chicken stock
2 sticks butter
3 tablespoons oil

First stuff the heads, or make the patties (see index)
then fry or bake.
Set aside to drain on paper towels.
Make a roux with butter, oil and flour,
brown vegetables in the roux, then add chicken stock and
allow to simmer for 20 minutes.
Add the patties or stuffed heads, and some loose crawfish,
lobster, long piglet, or what have you.
Cook on low for 15 minutes, then allow it to set for at least
15 minutes more.
Serve over steamed rice; this dish is very impressive!

Stuffed Cabbage Rolls

Babies really can be found under a cabbage leaf -
or one can arrange for ground beef to be found there instead.

8 large cabbage leaves
1 lb. lean ground newborn human filets, or ground chuck
Onions
peppers
celery
garlic
soy sauce
salt pepper, etc
Olive oil
breadcrumbs
Tom
Jul 23 '05 #6
By all means, substitute lamb or a good beef roast if the haunch
it is in any way diseased. But sometimes surgeons make mistakes,
and if a healthy young limb is at hand, then don?t hesitate to cook
it to perfection!

1 high quality limb, rack, or roast
Potatoes, carrot
Oil
celery
onions
green onions
parsley
garlic
salt, pepper, etc
2 cups beef stock

Marinate meat (optional, not necessary with better cuts).
Season liberally and lace with garlic cloves by making incisions,
and placing whole cloves deep into the meat.
Grease a baking pan, and fill with a thick bed of onions,
celery, green onions, and parsley.
Place roast on top with fat side up.
Place uncovered in 500° oven for 20 minutes, reduce oven to 325°.
Bake till medium rare (150°) and let roast rest.
Pour stock over onions and drippings, carve the meat and
place the slices in the au jus.

Bisque à l?Enfant

Honor the memory of Grandma with this dish by utilizing her good
silver soup tureen and her great grandchildren (crawfish, crab or
lobster will work just as well, however this dish is classically
made with crawfish).

Stuffed infant heads, stuffed crawfish heads, stuffed crab or lobster shells;
make patties if shell or head is not available
(such as with packaged crawfish, crab, or headless baby).
Flour
oil
onions
bell peppers
garlic salt, pepper, etc.
3 cups chicken stock
2 sticks butter
3 tablespoons oil

First stuff the heads, or make the patties (see index)
then fry or bake.
Set aside to drain on paper towels.
Make a roux with butter, oil and flour,
brown vegetables in the roux, then add chicken stock and
allow to simmer for 20 minutes.
Add the patties or stuffed heads, and some loose crawfish,
lobster, long piglet, or what have you.
Cook on low for 15 minutes, then allow it to set for at least
15 minutes mor
Jul 23 '05 #7
gb
Newborn Parmesan

This classic Sicilian cuisine can easily be turned into Eggplant Parmesan
If you are planning a vegetarian meal. Or you could just as well use veal -
after all, you have to be careful - Sicilians are touchy about their young
family members...

6 newborn or veal cutlets
Tomato gravy (see index)
4 cups mozzarella, 1cup parmesan, 1cup romano
Seasoned bread crumbs mixed with
parmesan
romano
salt
pepper
oregano
garlic powder
chopped parsley
Flour
eggwash (eggs and milk)
Peanut oil for frying.

Pound the cutlets.
Dredge in flour, eggs, then the bread crumb mixture.
Fry till golden brown in 350° peanut oil.
In a baking pan, place a layer of gravy,
then one of meat, gravy, and cheese.
Another layer each of meat, gravy, and cheese.
Then bake at 350° for 45 minutes.
Serve on hot pasta with romano cheese.

Southern Fried Small-fry

Tastes like fried chicken, which works just as well.
In fact you may want to practice cutting up whole chickens
for frying before you go for the real thing.
Whole chicken is much more efficient and inexpensive than buying pieces.

1 tiny human, cut into pieces
2 cups flour
Onion, garlic
Salt
pepper
garlic po
Jul 23 '05 #8
gb
Many thanks for your help.


Jul 23 '05 #9

"haido" <sa****@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
Yes it can be done with the help of javascript

Using anchor tag:
example
<form name=test action=ccccc>
.....
.....
</form>

<a onmousedown="ssub()" style="cursor: pointer;">jjjjj</a>

Here we call a javascript function on mouse press. The style is
required to make a mouse pointer, as we won't use href tag.

in the javascript function we will submit the form
<script language=javascript>
function submitss()
{
documnet.test.submit();
}
</script>

using a image in button
http://www.hscripts.com/tutorials/html/form3.php
Hope this explains.


Which can be useful but is best avoided if your site otherwise doesn't
require Javascript to function, because this will *make* it
Javascript-dependent.

Jul 23 '05 #10
On Sat, Dec 25, haido blurted out onto c.i.w.a.html:
Yes it can be done with the help of javascript


You won't be executing your untrusted javascript on the browsers of
the more-discerning Webnauts. So the most important part of your
design must be your fallback strategy. Unfortunately, you don't seem
to have one.

Jul 23 '05 #11
On Fri, 24 Dec 2004, gb wrote:
Within a form, the usual way of submitting it is to use e.g.

<INPUT TYPE="submit" VALUE="Send ">

This produces the standard button. Is there an easy way to portray this as
though it were a simple hypertext link?
You training to be a web illusionist?

Users get to know what links are, and what form submissions are.
The more perceptive ones don't like to be defrauded.
Second question:
If you have two unrelated questions then there's no extra points to be
won by sticking them into the same usenet posting.
Is there any way to customize a submit button other than
the text that it displays?
Of course, you can propose it, in the usual way. Stylesheets are
on-topic in another group.
i.e. can I change the colour and/or size?
Only if the client agent accedes to your proposals.
Thanks to anyone who can help


That remains to be seen :-}
Jul 23 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: lsarg | last post by:
i've been trying forever to figure out a way to use a regular text link in place of a submit button at the bottom of this. can't get it. i'm just starting to learn php, so i'm stuck. any help at...
2
by: Ruchi Gupta | last post by:
I want to print a C# form by pressing button on the form. It will print the contents of the form as well with the form layout. Any suggestions Thanks, Ruchi *** Sent via Developersdex...
4
by: NetMasker | last post by:
How can I reference a form (from withing a module for example) and make it visible without using the keyword "Me" ? I tried with the following code but nothing happened: Public myform As Form1...
3
by: Michael R | last post by:
I have a regular continuous form, with a sum control at the form's footer. When I change one the rows that are calculated in sum, I need to preform a requery in order for the sum control to be...
13
by: inpuarg | last post by:
Is it possible to get all controls and all of their children on a Windows form without using recursive methods ?
5
by: henry | last post by:
Basically, my php script runs on my serve all day along. If the php script finds something new, I'd like to get an email alert(which is done) and a cell phone alert, which has to be done through a...
24
by: MichaelK | last post by:
Who knows how to prevent submitting a form on the press Enter button before all fields on the form are filled up. People just enter the first field hit Enter and it submits the form and doing...
7
by: mukeshrasm | last post by:
Hi I have four textbox in form and I want to submit the form without using post or get method in php how can I do that.
5
by: Adnan Chowdhury | last post by:
How to close two form without using Application.Exit() the FormObj.Close() doesnt work
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.