tag:blogger.com,1999:blog-3945433340473224396.post705974384023250622..comments2024-02-12T22:38:32.637-08:00Comments on Make It Easy: Angular js auto focus for input boxPrashobhhttp://www.blogger.com/profile/00289297725972004641noreply@blogger.comBlogger24125tag:blogger.com,1999:blog-3945433340473224396.post-79090155363849789252018-02-19T13:50:18.213-08:002018-02-19T13:50:18.213-08:00How did you fix that? I am having the same problem...How did you fix that? I am having the same problem. I cannot bind a variable to set focus or not. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-28555782748173726702017-05-02T06:05:09.288-07:002017-05-02T06:05:09.288-07:00Thank you. This directive helped me a lot :)Thank you. This directive helped me a lot :)VNxZhttps://www.blogger.com/profile/16872383751916651191noreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-5922382874537323272017-01-23T14:29:52.867-08:002017-01-23T14:29:52.867-08:00For some reason, I copied this code (only replaced...For some reason, I copied this code (only replaced the app name) and it does not work with modal windows. I tried renaming the focus to focusOnMe (focus-on-me in html) and it still did not work. I put in JS timeout to focus by id as a workaround (when the modal window is ready for events), but I can't figure out why it is not triggering.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-46320274876404940282016-12-09T08:51:31.540-08:002016-12-09T08:51:31.540-08:00Thank you for your help.
It works very well.
aweso...Thank you for your help.<br />It works very well.<br />awesome!!!!!!!!! :)<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-57776128412499528562016-07-18T08:34:27.401-07:002016-07-18T08:34:27.401-07:00Nice work thank you very much!Nice work thank you very much!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-89809433450375009382016-07-02T20:08:55.490-07:002016-07-02T20:08:55.490-07:00Thanks! Works great!Thanks! Works great!Gardo-Kuhttps://www.blogger.com/profile/17593126482483379439noreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-46660686351284585222016-06-29T10:38:11.128-07:002016-06-29T10:38:11.128-07:00Awesome!!Awesome!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-28973635065574656812016-03-15T04:47:31.801-07:002016-03-15T04:47:31.801-07:00friend can you give me a directive to restrict aut...friend can you give me a directive to restrict autofill data in textbox(autocomplete==off doesn't support)Anonymoushttps://www.blogger.com/profile/02418083735443020803noreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-47192026077973374152016-02-06T07:56:17.927-08:002016-02-06T07:56:17.927-08:00thanks, using trigger : '=focus' things ge...thanks, using trigger : '=focus' things get much betterRochahttps://www.blogger.com/profile/17640596730207698542noreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-70126816255119876002015-12-01T06:06:26.337-08:002015-12-01T06:06:26.337-08:00yesyesPrashobhhttps://www.blogger.com/profile/00289297725972004641noreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-22102444335180266162015-12-01T06:05:44.776-08:002015-12-01T06:05:44.776-08:00Instead of $apply I used $timeout which is better ...Instead of $apply I used $timeout which is better than $apply.Prashobhhttps://www.blogger.com/profile/00289297725972004641noreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-83060162001475237022015-12-01T05:15:58.355-08:002015-12-01T05:15:58.355-08:00Why $timeout is used?Why $timeout is used?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-69172537330998734122015-11-25T13:50:45.257-08:002015-11-25T13:50:45.257-08:00thank you, this worked perfectly for me thank you, this worked perfectly for me Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-22855827123270840762015-07-21T12:08:26.756-07:002015-07-21T12:08:26.756-07:00^ This directive is for auto-focusing when a page ...^ This directive is for auto-focusing when a page loads as well.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-9007521330601959342015-07-18T05:47:41.340-07:002015-07-18T05:47:41.340-07:00Why you have to create new directive for doing thi...Why you have to create new directive for doing this while<br />angularjs alreay has a built in method for this situation, just use ng-focus="true".Minh Sonhttps://www.blogger.com/profile/13709010922780861505noreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-65726027966889646612015-06-23T04:08:38.916-07:002015-06-23T04:08:38.916-07:00Works for me. ThanxWorks for me. ThanxAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-87614724275658232342014-11-25T00:58:40.494-08:002014-11-25T00:58:40.494-08:00Works great. Thank you.Works great. Thank you.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-8771468299395130562014-11-13T09:52:32.302-08:002014-11-13T09:52:32.302-08:00Really sorry! Ignore my last two comments.Really sorry! Ignore my last two comments.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-85457870383274398392014-11-13T09:33:20.000-08:002014-11-13T09:33:20.000-08:00Sorry, this is the correct Fiddle - http://jsfiddl...Sorry, this is the correct Fiddle - http://jsfiddle.net/au51zjux/3/Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-62887143481968356542014-11-13T09:30:12.940-08:002014-11-13T09:30:12.940-08:00This doesn't seem to work when focus takes the...This doesn't seem to work when focus takes the value of a scope variable. Fiddle - http://jsfiddle.net/0qq8ntsp/Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-24256357896464185802014-11-11T23:36:14.512-08:002014-11-11T23:36:14.512-08:00Thx for very simple solutionThx for very simple solutionAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-72644534440184664912014-10-28T17:01:43.076-07:002014-10-28T17:01:43.076-07:00Thank you for this! Very helpful!Thank you for this! Very helpful!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-84692397586320418572014-10-27T08:39:50.833-07:002014-10-27T08:39:50.833-07:00Thanks. I tweaked your example to help me solve my...Thanks. I tweaked your example to help me solve my problem.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3945433340473224396.post-43028283837717268472014-09-23T05:30:15.918-07:002014-09-23T05:30:15.918-07:00Thanks! works like a charmThanks! works like a charmAnonymousnoreply@blogger.com