Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I'm using Chrome? Just for interest sake tried to put in a query in the submit_data function to insert some random data into the db table and it didnt run. There can't be any errors with the query as I tested it elsewhere in the script
If I use a click handler though then it doesn't seem to run the submit_data function as I get no Hello alert? I pass the data in the ajax call through the info: info line I think