Menu
hi to everybody,
I have a problem on an input field of a form which I have associated an Onchange event to.
The Onchange event recalls the following Javascript function:
<Script language=”javascript”>
function Cambia()
{
document.write(‘<‘ + ‘script language=”javascript” type=”text/javascript” src=”listalocalita5.js” ></script>’);
}
</Script>
The code does not execute and the window of the Browser closes.
If instead I explode the code of the Script inside the function executes it correctly.
Can someone tell me because?
I thank in advance whoever will want to answer me.
Fullavia