chrometweaks.org

What I need to be make my own iPage web hosting server?

Click Here To View All Answers...


Question I have... What I need to be make my own iPage web hosting server? Hoping for any answer. Another question on my mind: Hi All,.

How can I change the name that appears on the submit button on my form?.

I have used this code <INPUT TYPE="submit"> but the button on the form page shows 'submit query'. I would like it to just say 'submit'...

Comments (9)

That's a good question. I'm not sure what is the answer. I'll do some poking around and get back to you if I bump into an useful answer. You should email the people at iPage as they probably could assist you..

Comment #1

OnClick="submit();" will submit the form without firing a.

Submit.

Event - it's not the same as the submit() method of the form object. Also: using '<input type=image' will send an extra pair of name/value pairs along to the server (the x/y coordinates of the click on the image). And 'name=submit' is a bad idea as well....

Otherwise, great advice.....

Comment #2

Great advice when it apparently is all wrong.

Thanks for correcting me _mrkite, but how would it be for an image? if you don't mind, just to set me straight...

Comment #3

<form name="thisForm" .........

Etc..

<a href="javascript:document.thisForm.submit()"><img border="0" src=".

Image url.

"></a>.

</form>..

Comment #4

Thanks guys, that cleared a few things up..

So if I'ed included the form name it would have worked? correct..

Comment #5

Scoutt -.

When you give a form a name (or an image, Netscape 4 Layer, some other elements) an additional reference (pointer) to the form object that represents that form is exposed (made available for scripting purposes). Since you can also get references to.

All.

Forms in the page via the.

Document.forms[].

Collection - an array - this additional reference is provided as a convenience, so you won't need to use.

Document.forms[3].

, e.g., to find the fourth form in the source code..

Document.orderForm.

Is a lot easier to follow (you can also use.

Document.forms['orderForm'].

Or.

Document.forms.orderForm.

Or - in Internet Explorer -.

Document.all.orderForm.

Or.

Document.getElementById('orderForm').

(the last by also setting an.

Id.

) or - well, you get the picture. First - find the object (that represents the element), the do something with it..

If you know this already, apologies....

_mrkite..

Comment #6

Thanks _mrkite, that was very informational. I knew some of it but not in that way. you the man thanks....

Comment #7

Err....there is such a tag as <button> but I'm not sure what browsers and browser versions support it, although IE seems to support it at least as early as version 4..

Its pretty cool in that you can insert HTML code into a button that is not possible with the regular submit, reset buttons..

<button type=submit>.

<font color=red size=7>this is a big button</font>.

</button>.

<button type=reset>.

<img src="reset.gif" ALIGN=middle><font color=red size=3>Reset</font>.

</button>..

Comment #8

I was gonna say that myself Kevin.. as I'd seen that in action..

What I'm wondering is...you ccan change the font color, but what about the actual button color?..

Comment #9

To change the color of a button use CSS:.

<input type=submit style="background:blue;">.

There are many more style attributes you can use to change the appearance of buttons..

Kevin..

Comment #10


This question was taken from a support group/message board and re-posted here so others can learn from it.