var inputvalue = $(this).attr('value')
$('input[value=inputvalue] + label').css({
'-webkit-transition': 'opacity 0.4s linear',
'opacity': '0'
});
But it does not work. As expected value=inputvalue does not get that variable but looks for that name. How can i do this?
Thanks a lot 🙂
You need to use some string concatenation here.