On Jun 26, 3:07 pm, Andreas Derksen <andreasderk...@arcor.de> wrote:
> Well, outside cake, those coords were used to determine if the img
> submit button was clicked...
>
> Brendon Kozlowski (Realm) schrieb:
>
> > 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 <kdec...@gmail.com> 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 <mileswjohn...@gmail.com> wrote:
>
> >>> I dont think you can, thats part of HTML not Cake.
>
> >>> On Jun 25, 3:20 pm, Kyle Decot <kdec...@gmail.com> 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 <mileswjohn...@gmail.com> wrote:
>
> >>>>> They x and y are the coordinates where you clicked your mouse on the
> >>>>> image.
>
> >>>>> On Jun 25, 3:04 pm, Kyle Decot <kdec...@gmail.com> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
Friday, June 26, 2009
Re: I don't understand this at all
Use post instead of get.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment