Good vs. Evil

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,799
248
67 thank you.

now where did I park the now everyone will die ending because no one left the camp:p
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,799
248
72 I somehow manged to get the wrong background color from an element after selecting it with its id. I have no idea how because even if there is an duplicate id they still should have had the same background color
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,799
248
74 from red to blue, yes a totally derpy monitor /s
Unless I am a total derp, thios looks like legit code, note I use jquery
Code:
var selected = $('#pickup').val()
        var background=$('#pickup').find('option[value="'+selected+'"]').css('background-color');
        console.log($('#pickup').find('option[value="'+selected+'"]'))
        $('#pickup').css('background-color',background)
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,799
248
77 if I echo it I get the right text, so nope. It is probably a major derp somewhere though
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,799
248
79 good, stay away from javascript and php. You can thank me later
edit and I know wonder what would be a better ninja a burning skeleton or 3 triangles
80