Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Ajax problem

Ajax problem

Scheduled Pinned Locked Moved Web Development
questionhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 11753052
    wrote on last edited by
    #1

    i tried fetching a form from another page into a div element using ajax, now i want to use ajax function to submit the form i fetched but its not working... please how can i go about it? thank you

    W 1 Reply Last reply
    0
    • U User 11753052

      i tried fetching a form from another page into a div element using ajax, now i want to use ajax function to submit the form i fetched but its not working... please how can i go about it? thank you

      W Offline
      W Offline
      W Balboos GHB
      wrote on last edited by
      #2

      Ajax and Forms are two different animals.* Forms are submitted with a "SUBMIT" input type. They typically call to a target page which accepts the data from the form -> likely with a new page being rendered

      • Usually AJAX is executed (called) via a javaScript function through pretty much any event that makes sense (on click, onchange, etc.). A new page is not usually rendered (the point of AJAX)

      "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

      "As far as we know, our computer has never had an undetected error." - Weisert

      "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups