What do you do with this?
Submit.x=22Submit.y=13
if($_GET['Submit.x'] 0) ???
Is there some smarter way of dealing with an image as a submit button?
input name=Submit type=image value=doesNOTseemTOmatter
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Sam mailto:[EMAIL PROTECTED]
on Wednesday, May 12, 2004 10:10 AM said:
What do you do with this?
nothing. i usually don't give my image buttons a name value so that
never shows up. what it's meant for is server side image maps. the
browser is telling the server where on the image the user
* Thus wrote Sam ([EMAIL PROTECTED]):
What do you do with this?
Submit.x=22Submit.y=13
if($_GET['Submit.x'] 0) ???
$_GET['Submit_x'];
php converts .x to _x to be compatible accross browser versions.
Is there some smarter way of dealing with an image as a submit button?
input
I have a php file that contains all the functions that I run on the page
that is displayed, self-contained.
The main function is ? makeArrays(); ?
I am invoking that function with a Submit button OnClick event.
Whenever I click the button, the page refreshes and the function runs just
fine
] Submit Button Refresh Problem?
I have a php file that contains all the functions that I run on the page
that is displayed, self-contained.
The main function is ? makeArrays(); ?
I am invoking that function with a Submit button OnClick event.
Whenever I click the button, the page refreshes
--- wknit [EMAIL PROTECTED] wrote:
I have a php file that contains all the functions that I run on the
page that is displayed, self-contained.
The main function is ? makeArrays(); ?
I am invoking that function with a Submit button OnClick event.
[snip]
How do I keep the page from
oops, should have double checked the 'to'. Sorry.
Original Message
Subject: Re: [PHP] Submit Button Refresh Problem?
From:Andrew Séguin [EMAIL PROTECTED]
Date:Mon, January 5, 2004 12:26
Hi,
Nitin [EMAIL PROTECTED] wrote:
Never mind, but could you state the reason?
Just guessing here...
...[snip]...
--- Nitin [EMAIL PROTECTED] wrote:
img src=image.gif alt=Submit onClick=document.entry.submit()
This is a great example of what not to do.
...because it relies on
Never mind, but could you state the reason?
Nitin
- Original Message -
From: Chris Shiflett [EMAIL PROTECTED]
To: Nitin [EMAIL PROTECTED]; Karina S [EMAIL PROTECTED]
Cc: PHP-General [EMAIL PROTECTED]
Sent: Monday, September 29, 2003 3:34 AM
Subject: Re: [PHP] Submit button
--- Nitin
Hello,
I want to use an image as submit button on my form. Now I use the following
code with button:
if (!(isset($_Post['SubmitForm'])))
{
...
.
input type=submit name=SubmitForm value=Submit
}
else
{
.
}
Is it possible to change the Submit button with an
On Sun, Sep 28, 2003 at 12:49:27PM +0200, Karina S wrote:
:
: I want to use an image as submit button on my form. Now I use the following
: code with button:
:
: if (!(isset($_Post['SubmitForm'])))
: {
: ...
: .
: input type=submit name=SubmitForm value=Submit
: }
:
I have changed the code, but it doesn't work.
if (!(isset($_Post['SubmitForm_x'])))
{
...
.
input name=SubmitForm type=image src=image.gif alt=SubmitForm
}
else
{
.
}
Eugene Lee [EMAIL PROTECTED] az alábbiakat írta a következo üzenetben
news:[EMAIL PROTECTED]
You can always use:
img src=image.gif alt=Submit onClick=document.entry.submit()
Try it and enjoy
Nitin
On Sun, Sep 28, 2003 at 01:20:32PM +0200, Karina S wrote:
:
: I have changed the code, but it doesn't work.
:
: if (!(isset($_Post['SubmitForm_x'])))
: {
: ...
: .
: input name=SubmitForm type=image src=image.gif alt=SubmitForm
: }
: else
: {
: .
: }
1. The
--- Nitin [EMAIL PROTECTED] wrote:
img src=image.gif alt=Submit onClick=document.entry.submit()
This is a great example of what not to do.
Use input type=image...
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
dear all,
hi!
i have a php page by name diki.php which i have pasted below.
i have removed the irrelevant code because of the size limit of
the email.
in this page is a submit button at the end. the form in
which this button is placed is by get sent to p.php which
has only the following contents:
hi everybody,
i have a PHP script by name registration.php
in which i have a submit button at the bottom.
the form in this script is sent to p.php by GET.
but on clicking the submit button, nothing happens
attaching registration.php.
p.php has only the following:
?php
echo hi how are u;
?
hi everybody,
i have a PHP script by name registration.php
in which i have a submit button at the bottom.
the form in this script is sent to p.php by GET.
but on clicking the submit button, nothing happens
attaching registration.php.
p.php has only the following:
?php
echo hi how
dear all,
hi!
i have a php page by name diki.php which i have attached.
in this page is a submit button at the end. the form in
which this button is placed is by get sent to p.php which
has only the following contents:
?php
echo hi;
?
but when i click on submit button i am not getting
connected
dear all,
hi!
i have a php page by name diki.php which i have attached.
in this page is a submit button at the end. the form in
which this button is placed is by get sent to p.php which
has only the following contents:
?php
echo hi;
?
but when i click on submit button i am not getting
connected
dear all,
hi!
i have a php page by name diki.php which i have attached.
in this page is a submit button at the end. the form in
which this button is placed is by get sent to p.php which
has only the following contents:
?php
echo hi;
?
but when i click on submit button i am not getting
connected
IS there a way of making sure that a submit button cant be pressed twice.I
am using a form to send an email and dont want two emails showing up.
TIA
george
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
You will have to use JavaScript.
Use the following:
document.poster.action.disabled=true; // Disable Submit Preview
button
Or, if you aren't having it within a form, put the javascript in the end of
the page and write:
document.btnSend.disabled=true;
Note that the first code
23 matches
Mail list logo