In jQuery 1.4:
$("<link/>", {
rel: "stylesheet",
type: "text/css",
href: "/styles/yourcss.css"
}).appendTo("head");
More Related Contents:
- jQuery date formatting
- Update Angular model after setting input value with jQuery
- How can I simulate an anchor click via jquery?
- jQuery event for images loaded
- jQuery removeClass wildcard
- Bootstrap 3: Keep selected tab on page refresh
- How to prevent a jQuery Ajax request from caching in Internet Explorer?
- Is it possible to remove inline styles with jQuery?
- Setting the content-type of requests performed by jQuery jqGrid
- Selecting elements with special characters in the ID
- jQuery: count number of rows in a table
- Convert xml to string with jQuery
- form confirm before submit
- Click trigger on select box doesn’t work in jQuery
- How to strip HTML tags with jQuery?
- Jquery Datepicker Chrome
- Check if images are loaded?
- Show Div when scroll position
- File Upload via AJAX within JQuery
- Using an if statement to check if a div is empty
- JQuery sortable lists and fixed/locked items
- Opening tab with anchor link
- Unable to load google in iframe in fancybox
- jQuery to serialize only elements within a div
- AngularJS: $viewContentLoaded fired before partial view appears
- How to prevent page scrolling when scrolling a DIV element?
- Get index of selected option with jQuery
- Leave menu bar fixed on top when scrolled [closed]
- jquery client side validation not working in MVC3 partial view
- jquery reading nested json