I have this fiddle example:
I have a text box on my page.
When I type in the textbox, anytime I type a comma, the comma gets replaced with a comma plus a space
Only time that a space is not put after a comma is when it's followed by an equal sign.
For example when i type in the textbox ,everytime I typed a comma it put a space right after it like this:
There is one issue though. The character that I typed right after the comma gets deleted.
For example if I type ,m then that gets replaced with comma and a space so it looks like this:
Any character that I typed right after the comma should not get deleted.
For example if I type ,p then it should display a comma then a space then a p after the space like this:
For example, if I typed this in the textbox:
I should get this:
MTKE, KL, TEHRT, W
But I'm getting this:
It's deleting the first character that I typed after each comma.
Anyone know How I can fix my fiddle?