On 20 July 2010 06:24, geoffcox wrote:
> Hello
>
> I have this php code
>
> for ($count=0;$count echo " target='content'>BTEC First - Unit " . $units[$count] . "\n";
> }
>
> which sends the data to file index.php as part of the URL.
>
> Is it possible to use POST instead so that the path info is not
> visible to the user?
>
> I have thought of ajax/prototype but this would need the array data to
> be passed to JavaScript and not clear how to do this?
>
> Any other way?
>
> Cheers
>
> Geoff
You could have to create a form with am for each
unit and folder and a bit of JS to turn an into a form submitter -
or just use a button.
If you want to use ajax, then the same mechanism - create the form,
but use an ajax submitter to process the forms.
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.