[OT] CGI - web site help

John Craig jc at spl21.net
Mon Apr 30 05:50:56 EDT 2007


Another example - http://www.molekular.co.uk/tmp/test2.php

To link using a radio button, you can use the following;
<input type="radio" name="radio1" 
onClick="javascript:window.location.href='http://localhost/cgi-bin/catSearch.cgi?searchfor=1234&discount=5';"> 
Option1

HTH

JC


Sarah Reichelt wrote:
>
> Effectively, what I want this AJAX stuff to do is to display a new web
> page with supplied parameters. e.g. the web page might be:
> <http://localhost/cgi-bin/catSearch.cgi?searchfor=1234&discount=0>.
> If the 5% discount radio button is clicked, I then want the page
> displayed to be
> <http://localhost/cgi-bin/catSearch.cgi?searchfor=1234&discount=5>.
>
> Is this possible, or do I need to change my Rev CGI so that it only
> returns the results table, not a complete page?
>
> Many thanks,
> Sarah
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>





More information about the use-livecode mailing list