I need the javascript below added to magento admin product entry page and testing for character counts..
<script type="text/javascript">
[login to view URL](window, "load", function(){
$$('input[type="text"], textarea').each( function(i) {
var my_id = $(i).readAttribute('id');
$(i).insert({
'after': "<div id='"+my_id+"_counter'>Char count: <span id='" +my_id
+"_counter_num'>"+$(i).getValue().length+"</span></div>"
});
$(i).observe('keyup', function(e) {
$(my_id+"_counter_num").update($(this).getValue().length);
});
});
});
</script>
a few minutes work but the right candidate will benefit from ongoing assignments related to this site.