I\’m using PHP tidy and it automatically indents markup, adds tabs and spaces. Please take a look at this.
I got 2 questions:
- How to remove this extra spaces from selected option (The reason is PHP tidy library: adds extra space to indent markup. But I can\’t turn it off, so I\’m searching some JS solution to trim text)
- How to make \”Select one\” to act as HTML5 placeholder?





Rating:
The post jquery – Trim extra space with javascript appeared first on Javascript ASK.
via Javascript ASK http://javascriptask.phpfogapp.com/jquery-trim-extra-space-with-javascript.html
No comments:
Post a Comment