I currently want to focus on the first input element without selecting the preset value text inside the input element. How can I focus my input elements and deselect text within it? My current focus is as follows jQuery.
$ (document) .ready (function () {$ ("input [name = 'title']"). Focus ();}); $ (document) .ready (function () {$ (" Input (name = 'title'] "). Meditation (); $ (" input [name = 'title'] "). Val ($ (" input [name = 'title'] "). Val ()); });
Comments
Post a Comment