Changes

Jump to navigation Jump to search
12 bytes added ,  12:01, 8 November 2014
m
no edit summary
Line 262: Line 262:  
     for (var i=0;i<MyClasses.length;i++) {
 
     for (var i=0;i<MyClasses.length;i++) {
 
         str=MyClasses[i].innerHTML;
 
         str=MyClasses[i].innerHTML;
 +
alert(str.replace(/(<p>|<\u2Fp>)/gmi,""));
 
         MyClasses[i].innerHTML=str.replace(/(<p>|<\u2Fp>)/gmi,"");
 
         MyClasses[i].innerHTML=str.replace(/(<p>|<\u2Fp>)/gmi,"");
alert(MyClasses[i].innerHTML);
      
         //should contain two spans: pcsx2_collapsible_text_part and pcsx2_collapsible_text_full
 
         //should contain two spans: pcsx2_collapsible_text_part and pcsx2_collapsible_text_full
67,206

edits

Navigation menu