Hi @iridion9, the line
var id = $(this).attr('href');
just assigns the string #modal
to the variable id
. What you want however is a jQuery object, which you’ll get with $(id)
, so that you can go $(id).css(...)
etc.
Hi @iridion9, the line
var id = $(this).attr('href');
just assigns the string #modal
to the variable id
. What you want however is a jQuery object, which you’ll get with $(id)
, so that you can go $(id).css(...)
etc.