Jump to content

java code do not run in separate file


sairfan1

Recommended Posts

hi,following code runs fine in my html file,

	var	t = document.frmPage.fld1.value;	document.frmPage.fld1.value = t.replace(/'/gm,""");	alert(t);

but when ever i import this file like this <script type="text/javascript" src="/dcomm.js"></script> it stop working, meanz no effect.please help

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...