Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/06/2003, 16:44
Avatar de Kaopectate
Kaopectate
Colaborador
 
Fecha de Ingreso: diciembre-2001
Ubicación: Curaçao (Antillas Holandesas)
Mensajes: 3.179
Antigüedad: 23 años, 1 mes
Puntos: 38
Hola affv.

Supongo que lo que tienes que modificar es esta función:

Código PHP:
function DisplayForm() {
document.writeln('<FORM Name=Snarkform OnSubmit="HandleForm(this); return false">');
document.writeln('<p class="Texto" align="center">Buscar: <INPUT size=20 class="Textbox" name="query">');
document.writeln('En: <SELECT class="Textbox" name="service">');
for (
i=1<= engs.leni++) {
document.writeln("<OPTION " engs[i].opts "> " engs[i].name);
}
document.writeln('</SELECT> <input type=submit value="Buscar!" class="Boton"><br>');
document.writeln('</FORM>');
document.Snarkform.query.focus()

Yo probaría asi:

Código PHP:
function DisplayForm() {
var 
wPopup;
wPopup open('dummyPage.htm');
with (wPopup.document){
open();
writeln('<html><head></head><body>');
writeln('<FORM Name=Snarkform OnSubmit="HandleForm(this); return false">');
writeln('<p class="Texto" align="center">Buscar: <INPUT size=20 class="Textbox" name="query">');
writeln('En: <SELECT class="Textbox" name="service">');
for (
i=1<= engs.leni++) {
writeln("<OPTION " engs[i].opts "> " engs[i].name);
}
writeln('</SELECT> <input type=submit value="Buscar!" class="Boton"><br>');
writeln('</FORM>');
writeln('</body></html>');
close();
}
Snarkform.query.focus()