Hi - any help would be much appreciated as this is causing me a huge problem.

I'm pretty new to Javascript so really need some help here!

I have a default html form page that has a text box, a drop down box and a submit button.

On hitting submit a javascript is called that opens a new window. The url of the window that is opened is an .idc file that runs an SQL query that looks a bit like this:

select * from tablename where variable1=variable2

where variable1 is the value of the drop down box, and variable2 is the value of the text box.

This works fine if I don't use the javascript and instead run the idc in the same window as my html file, but I need it to run in a new window (without tool bars etc.), hence the javascript.

Any help appreciated
Thanks
Jo