Hi, I have this code.
<div id="static_element"></div>
<script>
$(document).ready(function()
{
$("#static_element").html("<b class="dynamic_element">Test</b>");
//this row wont work
$(".dynamic_element").css({"color":"red"});
})
</script>
i want to access the tag "b" with the class "dynamic_element" but i cant because it was dynamically generated.
Any ideas? Thanks