On Dec 24, 1:58 pm, papu <papu143p...@gmail.com> wrote:
> There is a <p></p> tag at the end of my page without any "id" how can
> i delete that tag by javascript

// with prototype.js

// without prototype.js
  var all = document.getElementsByTagName('p');
  if (all.length) {
    var last = all[all.length-1];

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to