Does anyone know how I can update the style attribute of a division using an Ajax request?
For example, I have a division I inline style to display:hidden, and when a user clicks a link it changes the style to display:block
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 don’t need to perform an AJAX call to perform the above request. Plain old javascript will do. If you are using jQuery, try:
For prototype, try: