By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,365 Members | 1,360 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,365 IT Pros & Developers. It's quick & easy.

Submit a form without using a button?

P: n/a
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
Share this Question
Share on Google+
11 Replies


P: n/a
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

P: n/a
"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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
gb
Many thanks for your help.


Jul 23 '05 #9

P: n/a

"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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.