In IE with document.getElementById(‘css_id’).styleSheet
or in Firefox document.getElementById(‘css_id’).sheet
I’ve a style sheet object to manipulate but in Chrome and Safari browser that property there is not.
How can I get that object?
Thanks
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.
Errr, in my tests .sheet works fine — my testcase was
I only tested in Safari 3.2 and the WebKit nightlies, Chrome just uses the WebKit from Safari 3.1 but i don’t believe there’s any engine changes between 3.1 and 3.2.