I have this:
<INPUT type=text language=javascript maxLength=50 name=Sender size=30 value="" style="FONT-FAMILY: sans-serif; FONT-SIZE: 16px; TEXT-ALIGN: right;">
Can I change the TEXT-ALIGN from "right" to "left" in a Javascript function?
Change your
<input type="submit" value="Submit" name="B1">
with
<input type="button" value="Submit" name="B1" onclick="do_the_check()">
Then in do_the_check() function, do the check and if you want to submit do like...
Thank you Paul.
However, my problem was vice versa of this solution.
I don't want to jump to textarea, I want to jump to "Home" that is the beginning of the line, when the user is in the textarea. But I don't want to user to press Home Key on the keyboard. The user clicks on the...
To the experts:
I wonder if it is possible at all.
I have a textarea, and I want to create a "Home key" effect on this textarea , on click of a button.
Like this:
function OnClickofButton1()
{
....
document.form1.textarea1.focus();
document.form1.textarea1.[Jump to Home, as if Home...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.