View Single Post
Old 05-25-2011, 01:59 PM   PM User | #4
DanInMa
Senior Coder

 
DanInMa's Avatar
 
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,307
Thanks: 12
Thanked 204 Times in 204 Posts
DanInMa is on a distinguished road
Quote:
Originally Posted by q1h View Post
Thanks for your reply. I tried using .serialize, but it broke my PHP somehow. And using success:function(html){ $("#results").html(html); } isn't calling the PHP output. Any suggestions? Thanks.

- Please define how it broke your php, because serialize does the same thing your doing with the longer version of your code -

- the results only return on success, so perhaps it's failing. I've always found the php is kind of stingy on providing error messages, make sure you put in some type of echo on your php page that will fire some info on success or fail, maybe that will help.

also Id put in a temp alert or console.log to see how the datastring is actually coming out
__________________
- Firebug is a web developers best friend! - Learn it, Love it, use it!
- Validate your code! - JQ/JS troubleshooting
- Using jQuery with Other Libraries - Jslint for Jquery/other JS library users
DanInMa is offline   Reply With Quote
Users who have thanked DanInMa for this post:
q1h (06-09-2011)