• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

prevent page refresh after submitting form

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i make php script for show all picture in my directory, and put form to choose picture i want to process, and my problem is everytime i click on submit, the page is refreshed to top page, i tried ajax jquery but i dont know how.
here the script i've use



please help me to make it not refresh after i click button

FYI: im just totally newbie on html,php scripting and still learn
here's some screenshot

1.jpg
[Thumbnail for 1.jpg]
main program
2.jpg
[Thumbnail for 2.jpg]
when i press uoload it generates upload.txt, and if i input number and press CETAK it also generates cetak.txt. and show information on the top left frame
3.jpg
[Thumbnail for 3.jpg]
here's the file that generate
 
30 seconds to difuse a loaf of bread ... here, use this tiny ad:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!