Win a copy of OCP Oracle Certified Professional Java SE 11 Developer Practice Tests this week in the OCP forum!
  • 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
  • Carey Brown
  • salvin francis
  • Piet Souris

prevent page refresh after submitting form

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

[Thumbnail for 1.jpg]
main program
[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
[Thumbnail for 3.jpg]
here's the file that generate
It's just a flesh wound! Or a tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic