Got some errors here. I am trying to use an id which I created using javascript but it won't work.
$('#button').on('click', function() {
$('#here').html('<p> thank you for clicking </p>');
$('#here2').html('<input type="button" id="button2" value="click me now" />');
});
$('#button2').on('mouseover' function() {
$('#button2').css({
'background-color':'#0FF';
'width':'400px';
'height':'200px';
});
});
I think that it is possible but I don't know how. Please teach me the right way.