Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Obrazek ajko button z wartością?
nilfheim
post 13.04.2006, 20:49:39
Post #1





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 5.04.2006

Ostrzeżenie: (0%)
-----


Czy da się jakoś zrobić aby po kliknięciu w obrazek, przekazywał by do strony action.php jakąś wartość POST? Dlatego nie GET, że w get łatwo jest manipulować


--------------------
Remember, remember the fifth of November
The gunpowder treason and plot.
I see no reason why gunpowder treason
Should ever be forgot.
Go to the top of the page
+Quote Post
LBO
post 13.04.2006, 20:55:40
Post #2





Grupa: Zarejestrowani
Postów: 1 415
Pomógł: 117
Dołączył: 7.09.2005
Skąd: Warszawa

Ostrzeżenie: (0%)
-----


mozesz Submit'owi formularza za pomocą CSS dodac grafike jako tło... albo (nie polecam) za pomocą JS:
  1. <a href="#" onclick="javascript:document.form1.submit()"><img src="twoja_grafika.jpg" alt="wyslij fomularz" /></a>

edit:
Kod
document.form1.submit()
funkcja ta symuluje klikniecie na submit fomularza "form1"

Ten post edytował LBO 13.04.2006, 20:56:45
Go to the top of the page
+Quote Post
nilfheim
post 13.04.2006, 21:06:27
Post #3





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 5.04.2006

Ostrzeżenie: (0%)
-----


a jak do tego dodac ukryta wartosc? hidden field?


--------------------
Remember, remember the fifth of November
The gunpowder treason and plot.
I see no reason why gunpowder treason
Should ever be forgot.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 8.07.2025 - 07:42