javascript - jQuery: DOM Elements: Attributes: query & create -
i have few questions jquery, relating attributes:
- is there jquery or dom api call use list or clone of attributes of dom element. jquery.attr() api call lets if know name of attribute, if don't, there way?
- is there jquery or dom api call use create new css rule, besides obvious 1 of dynamically loading new script?
it seems possible because when open js debugger in google chrome using ctrl-shift-j, , click on dom element in elements pane, can see of attributes of element without having ask them name.
- clone whole object, replicate attributes well, http://api.jquery.com/clone/
- add new style section head element using append, http://api.jquery.com/append/
Comments
Post a Comment