Re: On click button in php [message #180447 is a reply to message #180446] |
Sat, 16 February 2013 13:20 |
Nagaraju Kachapuram
Messages: 14 Registered: February 2013
Karma:
|
Junior Member |
|
|
On Saturday, 16 February 2013 09:59:29 UTC+5:30, Jeff North wrote:
> On Fri, 15 Feb 2013 18:15:17 -0800 (PST), in comp.lang.php nag
>
> <visitnag(at)gmail(dot)com>
>
> <3e8c6516-17c4-4a29-9f9f-ace88c524074(at)googlegroups(dot)com> wrote:
>
>
>
>> | <form name="myform" action="details.php?id=<?php echo $id ?>" method=get>
>
>> | <li><a href="#">
>
>> | Enter Id:<br/><input type="text" value="Enter Id Code" name=id onfocus="if (this.value == 'Enter Id Code') {this.value = '';}"></a>
>
>> | <?php echo $id ?>
>
>> | </li>
>
>> | <li>
>
>
>
> Change this
>
>> | <a href="#"><input type="button" onclick="<a href='details.php?$id=' ></a>" value="submit" style="margin-left:4.0em;"></a>
>
>
>
> to:
>
> <input type='submit' value='submit' style="margin-left:4.0em;">
>
>
>
>
>
>> | Problem:
>
>> |
>
>> | The text box is accepting the id code and when I press enter it is activating the details.php but when I click the button (the submit button) nothing is happening.
>
>> |
>
>> | Please help me.
thank you so much
|
|
|