faybe Posted August 16, 2010 Share Posted August 16, 2010 Okey, after hours and hours of googling...all i found was some snippet that works so far that it displays the success and error message, however doesn't do any queries. Basically, what i need is this: I have a textarea where a user submits he's status a.k.a what he's doing, but then the page refreshes (you know, the oldschool plain php/html). However, I know this is doable via jQuery / Ajax ... all i need is a proper code that actually works. Quote Link to comment Share on other sites More sharing options...
Psycho Posted August 16, 2010 Share Posted August 16, 2010 Can you please be more specific on what you are actually having trouble with? There is no way for anyone to give you code not knowing anything about your application. If you are using AJAX, you will probably need to include variables (using GET or POST) along with the AJAX request to the server. You would then code the receiving page to use those variables to perform whatever queries you need, then return output to the calling JS function to be displayed to the user. There are many tutorials out there. For us to try and teach you in a forum would be a waste of time. Just take one step at a time and if you get stuck on a specific task, then post the code you have and describe the problem you are trying to solve. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.