NeedAJob
03-03-2004, 12:11 PM
I'm trying to open a file via a piece of JavaScript, I want to be able to pass in a command line switch to be able to start the exe in a certain manner. This is part of the code I'm using;
onClick="window.navigate('setup/setup.exe')" >Start
I've tried
onClick="window.navigate('setup/setup.exe /L1033')" >Start
but the browser then tries to navigate to /L1033, I think I can use an escape character but my knowledge of JavaScript is very low and the tutorials I've looked at (suprise, suprise) don't cover this!
This is a piece of legacy code that I just want to enhance slightly.
I've tried searching the archives but haven't had any luck. All help\suggestions appreciated.
onClick="window.navigate('setup/setup.exe')" >Start
I've tried
onClick="window.navigate('setup/setup.exe /L1033')" >Start
but the browser then tries to navigate to /L1033, I think I can use an escape character but my knowledge of JavaScript is very low and the tutorials I've looked at (suprise, suprise) don't cover this!
This is a piece of legacy code that I just want to enhance slightly.
I've tried searching the archives but haven't had any luck. All help\suggestions appreciated.