Skip to main content

Posts

Showing posts from July, 2014

Trim Dropdown Options Using JQuery

This is the HTML of my dropdown list. I have whitespace before and after each of option for this select/ dropdown. And here is a easy way to trim these option values using jQuery each method and javascript trim method. ajab prem Ki Gajab Kahani ajab prem Ki Gajab Kahani