Classic ASP and ModalBox

Skip to first unread message

Oscar Lamattina

Apr 4, 2011, 11:10:17 AM4/4/11
to ModalBox
I can't make form posting to work.
Here is my code, any help would be appreciated!!!

<form id="consulta" name="consulta" method="post" accept-
charset="utf-8" >
<input type="text" name="Nombre" id="Nombre" />
<input type="text" name="Apellido" id="Apellido" />
<input name="OK" type="submit" value="OK"
onclick="'consulta_2.asp', { method: 'post', params: $
('consulta').serialize(), overlayClose: false }); return false; " />

Consulta_2.asp code is

Nombre = Trim(Request ("Nombre"))
Apellido = Trim(Request.Form("Apellido"))
Response.Write ("<BR/>Nombre: " & Nombre)
Response.Write ("<BR/>Apellido: " & Apellido)


The response is


So, the parameters are not being passed. How can I fix this ? Thanks

Justinas Urbanavicius

Apr 4, 2011, 3:01:59 PM4/4/11
to, Oscar Lamattina
try looking into firebug console and check if the actual post request is being made.

You received this message because you are subscribed to the Google Groups "ModalBox" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply all
Reply to author
0 new messages