Thursday, December 11, 2008

Javascript-Change the target attribute of all forms, Repair Grub


http://zikula.org/

Timing: Train Time: Indian Railway Running time
http://www.trainenquiry.com

a-r-t:cf: changing form target of all form using javascript
<script type="text/javascript">
window.onload=function (){
var forms=document.getElementById('tutorial').getElementsByTagName('form');
for(var i=0;i<forms.length;i++)
  forms[i].setAttribute('target','_blank');
}
</script>


tag: js: dhtml: dom: 

http://kb.mit.edu/confluence/pages/viewpage.action?pageId=4260033

http://fungliding.blogspot.com/2005_04_01_fungliding_archive.html

No comments: