Hi,
I wrote this code for a simple "hide and show" effect and I am looking
for any advice or examples of how I can refactor the code. I tried
using a hash but it didn't work out right and I am thinking that maybe
I should make a object method.
here is the code:
$(document).ready(function() {
Hey guys!
I've spent a bit of time writing some JS to pull some JSON into three
dropdowns, and the resulting code is a bit messy (70 lines, of which,
40 is just repetition).
I'm a bit useless with refactoring, and I would really appreciate some
pointers in trying to tidy this code up. I'm not no
2 matches
Mail list logo