assign css via jquery code example
Example: add css file through jquery
$('head').append('<link rel="stylesheet" href="style2.css" type="text/css" />');
$('head').append('<link rel="stylesheet" href="style2.css" type="text/css" />');