By way of example, here's what I'm currently using. I'm not happy with
the textarea actions, though.

http://dev.ficclaims.com/test/textbox.php

Would it be smarter to use a textarea and switch it to an
input[type=text] on click?

Thanks,
-Wayne

On Oct 17, 1:16 pm, Wayne <[EMAIL PROTECTED]> wrote:
> I'm trying to prompt for input within the field using the Example
> plugin (http://plugins.jquery.com/project/example). The idea is that
> I'm styling my input field to be unsually large when the user types
> (it will be no more than a 4 or 5 digits), so I can use closer to
> normal size text as the prompt.
>
> I know I can do this with a textarea, but it's semantically incorrect,
> and using the return key creates a new line. I don't want to shoehorn
> the simple input into a textarea, but I want the prompt to be
> meaningful, like "Enter a measurement for this baseline," instead of
> "type here" or whatever short message I could use. I also like the
> amount of space that it takes up visually with two lines.
>
> What is a better way of doing this? Should I just use a jEditable
> element and style it to look like a form input?
>
> -Wayne

Reply via email to