elclanrs / jq-idealforms-old

The ultimate framework for building and validating responsive HTML5 forms.
665 stars 95 forks source link

New line in textarea when pressing enter #26

Closed hoekie closed 12 years ago

hoekie commented 12 years ago

Hi elclanrs,

Thanks for this excellent plugin!

I have a problem with the textarea. When I press enter, the cursor will not go to the next line. If I put an 'alert' in the keyDown event of the textarea, the cursor moves to the next line after pressing 'Ok'. Is this a bug or is there a standard solution to solve this? I've searched Google but could not find anything.

thanks

elclanrs commented 12 years ago

It was indeed a bug. I found the solution at StackOverflow and committed a fix. It should work fine now. Thanks for reporting.

hoekie commented 12 years ago

Thanks elclanrs!

Works great!