I know nothing about javascript. And I have this script:
- Code: Select all
<script type='text/javascript'>
window.onload = function() {
para = document.getElementById('my_id').getElementsByTagName('a');
if(para.length)
for(index in para){
para[index].removeAttribute('title');
}
}
</script>
I need it to work by "class" and not "id".
Could someone rewrite it for me?


