Very Interesting Research... Shit-Enter Key

Today i was looking for "SHIFT-ENTER" ASCII Code and i came to know there is no actual assigned ASCII Code for SHIFT key. Hmmm... i goggled it more and more and then i found, SHIFT-ENTER is for Single Space and it uses Char Value "10". For ENTER Key it is value "13".

If you are using Web Application then you can force single-spacing when you hit return in a content-editable element by seeding it with an inner DIV like so:

"< div style="border: 1px solid;" contenteditable="true" >< div>< / div>
< / div>
"

Very Very interesting. Hope above solution works for you.

Happy Coding...

If you find the above link useful, let us know your feedback, it will help us to improve our posting(s). or You can send your feedback linkOblast.
Report Broken Link

No comments:

Post a Comment