Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I needed calendar extension,
.
I have taken jquery full calendar code from jquery forum, when I load code on extension object
Everything works fine except jquery css files.
However ,I am wondering issue is with this code
define( ['jquery','text!./fullcalendar-min.css','./moment','./fullcalendar'],
function ($, cssContent) {
'use strict';
$("<style>").html(cssContent).appendTo("head");
Please help me?
Check the Path, Still path is correct, Please explode more...
The Path is correct
Try this:
define( ['jquery','text!./fullcalendar-min.css','./moment','./fullcalendar'],
function ($, cssContent)
{
'use strict';
$("style").html(cssContent).appendTo("head");
}
Note: I deleted tag, $ means Selection only .. No need to wrote this <Style>
it use full to check the this path and it is useful