FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » On click button in php
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
On click button in php [message #180444] Sat, 16 February 2013 02:15 Go to previous message
Nagaraju Kachapuram is currently offline  Nagaraju Kachapuram
Messages: 14
Registered: February 2013
Karma:
Junior Member
<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>
<a href="#"><input type="button" onclick="<a href='details.php?$id=' ></a>" value="submit" style="margin-left:4.0em;"></a>

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.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: using scripting languages to automate a browser
Next Topic: utf8_encode(utf8_decode(string)) doesn't return same string
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 03 12:51:47 GMT 2024

Total time taken to generate the page: 0.04167 seconds