Think Google Maps.  When you double click on an area in the map to
zoom, it needs to know the coordinates on where to zoom.

Before all this AJAX goodness, Mapquest did something similar, but
required you to reload the entire page - it used this technique.

On Jun 25, 6:42 pm, Kyle Decot <[email protected]> wrote:
> Interesting. I don't know why you would ever need the coordinates of
> where you clicked the submit button. I decided to just add a method to
> my AppController to unset those values if they're present. Thanks for
> the help/info
>
> On Jun 25, 6:38 pm, Miles J <[email protected]> wrote:
>
> > I dont think you can, thats part of HTML not Cake.
>
> > On Jun 25, 3:20 pm, Kyle Decot <[email protected]> wrote:
>
> > > Oh okay. Well I don't really want or need those so how do I make it so
> > > those values aren't included?
>
> > > On Jun 25, 6:17 pm, Miles J <[email protected]> wrote:
>
> > > > They x and y are the coordinates where you clicked your mouse on the
> > > > image.
>
> > > > On Jun 25, 3:04 pm, Kyle Decot <[email protected]> wrote:
>
> > > > > Alright. I have a form and when I submit the form using an image based
> > > > > submit button like <?php echo $form->submit("submit.png"); ?> two
> > > > > values (x and y) get added to my submitted data so the URL ends up
> > > > > being something like sample.com/?x=40&y=30. Each time the x and y
> > > > > values are different. I have no Idea where these values are coming
> > > > > from. If I use a normal submit button like <?php echo $form->submit
> > > > > ("submit"); ?> then the values do not appear. I am baffled by this.
> > > > > Anyone have any idea of what's going on?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to