Variable Help

Variable Help

am 16.03.2007 14:50:02 von Mangler

I have a quick lookup page that opens in a small window and when the
form on that page is submitted the results page is open in a smaller
window as well. I have everything working except passing the variable
to the results page. Hopefully someone can help me here:

Code...



class="thinBorderGrey" id="frmdte"
onsubmit="MM_openMDialog('showsku.asp','','center:yes;help:n o;resizable:no;scroll:yes;status:no;dialogWidth:
450px;dialogHeight:300px')">
class="thinBorderGrey">











 










The field "sku" will not pass to the next page, even if I add:

onsubmit="MM_openMDialog('showsku.asp?sku=<%=Request.Form("sku")%>'


Any suggestions?

Re: Variable Help

am 17.03.2007 02:54:35 von Trevor_L.

Mangler wrote:
> I have a quick lookup page that opens in a small window and when the
> form on that page is submitted the results page is open in a smaller
> window as well. I have everything working except passing the variable
> to the results page. Hopefully someone can help me here:
>
> Code...
>
>
>
>

> class="thinBorderGrey" id="frmdte"
> onsubmit="MM_openMDialog('showsku.asp','','center:yes;help:n o;resizable:no;scroll:yes;status:no;dialogWidth:
> 450px;dialogHeight:300px')">
> > class="thinBorderGrey">
>
>
>
>
>
>
>
>
>
>

>
>  

>

>


>
>


>

>

>

>
>
> The field "sku" will not pass to the next page, even if I add:
>
> onsubmit="MM_openMDialog('showsku.asp?sku=<%=Request.Form("sku")%>'
>
>
> Any suggestions?

Well, I am not an expert on ASP, but I have put together a couple of pages.

What I use is:


Submit should then open "xxxxx.asp" and pass to it the variables contained
in the form.

These can then be retrieved in "xxxxx.asp" by <%=Request("sku")> or strictly
speaking <%=Request.Form("sku")>
--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
----------------------------------------