•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 397,591 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,863 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1165 | Replies: 2
![]() |
•
•
Join Date: Jun 2005
Posts: 85
Reputation:
Rep Power: 4
Solved Threads: 0
I have the code:
Now the question is:
I can use submit button to submit "sb1", but if I try to submit image "sample.jpg", I cannot retrieve data "sb2". Anyone knows why? thanks.
<form method="post" action="abc.php"> <input type="submit" name="sb1" value="sb1"> //<----LINE1 <input type="image" src="sample.jpg" name="sb2" value="sb2"> //<---LINE2 </form>
Now the question is:
I can use submit button to submit "sb1", but if I try to submit image "sample.jpg", I cannot retrieve data "sb2". Anyone knows why? thanks.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
- Question about FORM submit (JavaScript / DHTML / AJAX)
- Is it possible to submit form values using JavaScript? How? (JavaScript / DHTML / AJAX)
- HTML question about creating a certificate form? (HTML and CSS)
- Please help with email form script (PHP)
- dreamweaver, PHP and submit form query (PHP)
- Javascript, Form fields validation and submit (JavaScript / DHTML / AJAX)
Other Threads in the HTML and CSS Forum
- Previous Thread: .eml formats
- Next Thread: Frame detection possible?



Linear Mode