Jump to content

Recommended Posts

Posted

i have searched the docs but no answer for this question

 

i have a js file in the module view directory .

 

how i can add it to the header section or add it to the end of body ?

 

fo css i found a tips with blestaSetHeadTag . i have tried to convert it but not working

$(this).blestaSetHeadTag("script", {type:"text/javascript",  href: "<?php echo $this->Html->safe($this->view_dir . "js/my.js");?>"});

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...