Classic ASP and ModalBox

30 views
Skip to first unread message

Oscar Lamattina

unread,
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="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

Justinas Urbanavicius

unread,
Apr 4, 2011, 3:01:59 PM4/4/11
to moda...@googlegroups.com, 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 moda...@googlegroups.com.
To unsubscribe from this group, send email to modalbox+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/modalbox?hl=en.


Reply all
Reply to author
Forward
0 new messages