Skip to content

ibleedtechnology

  • About

Month: August 2015

Posting form data to server via jQuery + AJAX

August 30, 2015 cakecLeave a comment

Here is the simplest way to submit a form data via jQuery Ajax to backend.
HTML Code
nullScreen Shot 2015-08-30 at 7.58.14 PM

Javascript code:

Screen Shot 2015-08-30 at 8.00.17 PM

Backend Code- Spring Controller.

Screen Shot 2015-08-30 at 8.02.05 PM

 

Hope this helps some troubled souls like mine.

Let me know if anyone has better code. I will be glad to take any suggestions.

Recent Posts

  • IntelliJ Settings with High DPI monitors
  • Using properties from Jboss configuration in Java.
  • Apache Camel – Calling an Endpoint from a Processor
  • Spring Boot + Cassandra – Issues and remedies.
  • 4 easy steps for setting up Cassandra DB in Mac.

Recent Comments

cakec's avatarcakec on Spring Boot + Cassandra…
Sudheer Gollapudi's avatarSudheer Gollapudi on Spring Boot + Cassandra…
cakec's avatarcakec on Spring Boot + Cassandra…
Kingsley's avatarKingsley on Spring Boot + Cassandra…
Using properties fro… on Accessing Properties files in…

Archives

  • March 2018
  • March 2017
  • February 2017
  • January 2017
  • June 2016
  • December 2015
  • September 2015
  • August 2015
  • June 2014
  • May 2014
  • March 2014
  • May 2011

Categories

  • Programming
  • Uncategorized

Meta

  • Create account
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com

Recent Posts

  • IntelliJ Settings with High DPI monitors
  • Using properties from Jboss configuration in Java.
  • Apache Camel – Calling an Endpoint from a Processor
  • Spring Boot + Cassandra – Issues and remedies.
  • 4 easy steps for setting up Cassandra DB in Mac.

Recent Comments

cakec's avatarcakec on Spring Boot + Cassandra…
Sudheer Gollapudi's avatarSudheer Gollapudi on Spring Boot + Cassandra…
cakec's avatarcakec on Spring Boot + Cassandra…
Kingsley's avatarKingsley on Spring Boot + Cassandra…
Using properties fro… on Accessing Properties files in…

Archives

  • March 2018
  • March 2017
  • February 2017
  • January 2017
  • June 2016
  • December 2015
  • September 2015
  • August 2015
  • June 2014
  • May 2014
  • March 2014
  • May 2011

Categories

  • Programming
  • Uncategorized

Meta

  • Create account
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • ibleedtechnology
    • Already have a WordPress.com account? Log in now.
    • ibleedtechnology
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    Design a site like this with WordPress.com
    Get started