I have an input textfield that has segmented chinese words(usually they are all squashed together).
I want to highlight the space between the words, on the fly(So in other words if i type a space between 你好 the space between the characters would be red)
When I submit the text however I want to only submit the chinese with the spacing, no html or highlighting. Is this possible?
I don't think you can apply "styling" on the text box itself. You can probably use a "preview" div (just like stackoverflow) and highlight the spaces there, using simple css.