Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,195,338 members, 7,957,903 topics. Date: Wednesday, 25 September 2024 at 12:16 AM |
Nairaland Forum / Science/Technology / Programming / Jquery Plugin For Nigeria States And Corresponding Lga (3080 Views)
Do You Need Nigeria States And Local Governments? / Add Nigeria states to Woocommerce / Write A Jquery Plugin – Tutsplus (2) (3) (4)
Jquery Plugin For Nigeria States And Corresponding Lga by guru01(m): 4:46pm On Aug 23, 2016 |
Hello, I just made a jquery plugin for state and LGA. Anyone who needs it, can contact me. |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by Nobody: 5:16pm On Aug 23, 2016 |
Post it here or on your github page 2 Likes |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by sleepingdemon: 10:16am On Aug 24, 2016 |
guru01:In all countries in the world?. or just nigeria. You need to be specific in things like this. |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by godofbrowser(m): 4:40pm On Aug 24, 2016 |
Git Repo? |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by guru01(m): 8:42pm On Aug 24, 2016 |
Will post the repo URL tomorrow. |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by guru01(m): 12:34pm On Aug 26, 2016 |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by Nobody: 1:59pm On Aug 26, 2016 |
Dude, this your jquery ehn. |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by guru01(m): 2:26pm On Aug 26, 2016 |
dhtml18:Na wetin? |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by guru01(m): 2:39pm On Aug 26, 2016 |
#how to use $(selector).stateLga();//where selector is the id of state element Defaults stateId:'state', lgaId:'lga' Will update the readme doc asap. |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by Nobody: 3:23pm On Aug 26, 2016 |
@guru, you actually wrote something very nice this time. I however was not too pleased with the syntaxes, so i forked the code to - https://github.com/dhtml/jquerynigeriastatelga Now this version is somewhat simpler for me to use, i cant say for others. |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by guru01(m): 11:05pm On Aug 26, 2016 |
Alright, enjoy. |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by Nobody: 11:17pm On Aug 26, 2016 |
dhtml18:Submit a pull request 1 Like |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by guru01(m): 9:54am On Aug 27, 2016 |
DanielTheGeek:Lol, don't mind DHTML he is a good forker. A normal thing to do is submit a pull request. 1 Like |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by Nobody: 10:41am On Aug 27, 2016 |
Err, i was just experimenting ni o jare, I believe i have now submitted a pull request. . . . |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by adeolagbemi: 10:59am On Aug 27, 2016 |
Nice |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by godofbrowser(m): 8:28pm On Aug 27, 2016 |
Well done @guru01 |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by guru01(m): 8:51pm On Aug 27, 2016 |
godofbrowser:Thanks |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by Nmeri17: 2:53pm On Sep 03, 2016 |
Nice initiative OP but I cannot use an undocumented library. dhtml18:Mr man I cannot understand your reason for putting end here $ ('#lgas' ). find ( 'option' ) you simply want a fresh list of local governments so when you made that call to find and removed it, it's already free for you to append your elements to. In any case, you could use the empty() method instead of find+remove+end and it gives you the desired effect. Secondly, you could make do without trigger and that your eval. Template literals would have been a more gooder choice. Lastly, is there a reason you are not initializing that options string with the local government whatever Needless to say, you both did really well. I can't even imagine myself writing or modifying a library |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by Nobody: 10:01pm On Sep 03, 2016 |
Dude, feel free to make your own innovation. For the record, guru started this - and made a whole mess of it. I also cleaned up his code a bit, feel free to make something better, it is an open-source world. @least, i tried to improve things a bit. |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by Nmeri17: 8:52pm On Sep 04, 2016 |
dhtml18:guru go dey one corner now dey eye you
|
Re: Jquery Plugin For Nigeria States And Corresponding Lga by jacob05(m): 9:23pm On Sep 04, 2016 |
dhtml18: Baba, send PR to the main repo. |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by Nobody: 12:24am On Sep 05, 2016 |
jacob05:I did jor, but that guru boy no gree respond, i think he is annoyed because I did a better job. 1 Like |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by guru01(m): 5:33pm On Oct 15, 2016 |
Why will I be annoyed when I inspired the project. Being so busy since, will check it asap. |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by Nobody: 5:43pm On Oct 15, 2016 |
^^^no mind them boys jare, they are TROLLS. |
Re: Jquery Plugin For Nigeria States And Corresponding Lga by talk2hb1(m): 2:10pm On Aug 07, 2017 |
Ayam Corn-Fused, Also a-Maize with all this fork and hubgit |
(1) (Reply)
Hotel Booking And Reservation Assignment For A 200level Student (c++). / Woocommerce Shipping Plugin For Local Governments / What Programming Language Can I Use To Achieve This?
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 22 |