I'm trying to dynamically apply the "more" CSS class directly to an inline style tag, but I haven't had success with my current approach. Unfortunately, in my situation, I can't create a class. The method is working for <p>
tags but not for...
<script type='text/javascript'>
function CreateCustomClass()
{
var css_style="{color: #900;margin-top:20px;}:hover {margin-top:0px;}";
return css_style;
}
</script>
-----
-----
<script type='text/javascript'>
var css_style=CreateCustomClass();
$('#iiffrraammee').contents().find('#newtxtid').css(css_style);
</script>
-----
-----
<textarea class="expand close" id="newtxtid" name="ta" wrap="hard" spellcheck="false"></textarea>