Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General 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 ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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
 
Catch Ernie! Catch the egg! And catch this tiny ad too:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic