Oscar Lamattina
unread,Apr 4, 2011, 11:10:17 AM4/4/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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="Modalbox.show('consulta_2.asp', { method: 'post', params: $
('consulta').serialize(), overlayClose: false }); return false; " />
</form>
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
Nombre:
Apellido:
So, the parameters are not being passed. How can I fix this ? Thanks