I am working on ASP.Net site where I would like to realign the various html controls after button click occurs. Can I do that by replacing current css with new css ? And how can I associate that element with new css in code ?
Share
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.
If you have classes ready to be switched between, you can
..this will alter the classes of the selected element(s)
Or you can
…this will modify inline styles on the selected element(s).
Edit: To complete my answer a bit…
Let’s say the clickable element in a div with an id of “clickables_container”, your clickable element’s id is “clickable_element” and the element you want to modify has a class of “change_me”…