OHO!
I bludgeoned it into submission - and yes, my solution sucks, I'm
sure.
jQuery("#user_webmail").blur(
function(){
var un = jQuery("#user_webmail").val().split("@");
jQuery("#user_webmail,#user_pay,#user_home").val(un[0]);
}
);
Any cleaner solutions are highly appreciated. Now,
We do that on another section of the site. Guess what? People are
still seemingly INCAPABLE of following that sort of guide. Even when
we specifically prompt for "Your Domain Name (only domain.com, not
www.domain.com)" we STILL get bloody email addresses in the input.
On Sep 26, 2:17 pm, Muesch
why you dont give a hint what the users have to input in this field:
[ ] means input field
write:
[EMAIL PROTECTED]
and dont allow a dot as input (if the dot is not used in names)
On Sep 26, 10:03 pm, Alex <[EMAIL PROTECTED]> wrote:
> I was under the impression that the masked input plugin s
I was under the impression that the masked input plugin simply
provides a template for entry, but every character in that template is
still submitted, so I'd still have to strip the @domain part off
before submission.
The other problem with the masked input is that it expects a fixed
width input,
You could the masked input plugin, so that they couldn't enter periods or
@'s in the first place. It's really nice.
http://jquery.com/plugins/project/maskedinput
-- Josh
- Original Message -
From: "Alex" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Wednesday, September 26, 2
5 matches
Mail list logo