javascript - Form input hints conflicting with validation plugin -


i'm building html form validates jquery validation plugin.

minimal working example on jsfiddle

i'm trying add hints input boxes it's easier user see enter table length increases.

note 'email' field validated validation plugin. problem validation plugin validating based upon hint-text.

i don't want manually write bunch of filters compare against hint text, wondering if there alternative means of setting hint-text manually setting $(elem).val()?

you use "placeholder" instead of "data-hint".

<input type="text" class="email" placeholder="email" /> 

http://jsfiddle.net/yc4za/


Comments

Popular posts from this blog

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

Android Gson.fromJson error -