Jump to content

JScript Replace


tarun

Recommended Posts

Im Not Sure Whats Going Wrong

Its Actually Trying To Litererally Replace "string" Rather Than A Specified Input

 

function deltxt(where,string){
var old = document.getElementById(where).innerHTML;
var new = old.replace(/string/g, "");
document.getElementById('taskbar').innerHTML = close;
}

 

 

Any Help...?

 

 

Thnx,

Tarun

Link to comment
https://forums.phpfreaks.com/topic/52131-jscript-replace/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.