make string initcap like if i enter paul james in textbox it should give me Paul James ..do it with javascript with and without inbuild functions.... make string initcap ?
brief:i dont want to use any inbuilt javaacript function like split and all...i just want to init cap that is "My Name Is In Init Cap"..i want my string in this format withour split and all
<input type="text" placeholder="enter string"/>
<button>make string uppercase</button><!--like Paul James if i enter paul james-->