There’s a little admin panel I’m doing and wondering is it possible after clicking a button in a panel to add a div box inside the index.php file with jQuery?
If so, a little example would be appreciated!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You would need to send an XML http post request using jQuery’s $.post() method, and then have a php file on the server modify the index file, or a text file that can be included in the index file:
Make sure the indexEdit.php has session validation or someone else could could attempt to post information to it and perform an external edit.