I have created a new js file on path assets >>js >>custom_file.js , i have to include this file in page. For that, in hooks.py(Erpnext) i have assigned my custom js file's path to variable web_include_js. To load the js file on the head my code is,
I have written a function XYZ() in this file, When I called to XYZ, it shows an error "Object has no method XYZ". It means the js file is not be loaded on the page.
Is this right way to load js file? Please provide me the solution
Thanks, Rohit
–
Note:
If you are posting an issue,
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
I have created a new js file on path assets >>js >>custom_file.js , i have to include this file in page. For that, in hooks.py(Erpnext) i have assigned my custom js file's path to variable web_include_js. To load the js file on the head my code is,
I have written a function XYZ() in this file, When I called to XYZ, it shows an error "Object has no method XYZ". It means the js file is not be loaded on the page.
Is this right way to load js file? Please provide me the solution
Thanks, Rohit
–
Note:
If you are posting an issue,
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
I have created a new js file on path assets >>js >>custom_file.js , i have to include this file in page. For that, in hooks.py(Erpnext) i have assigned my custom js file's path to variable web_include_js. To load the js file on the head my code is,
I have written a function XYZ() in this file, When I called to XYZ, it shows an error "Object has no method XYZ". It means the js file is not be loaded on the page.
Is this right way to load js file? Please provide me the solution
Thanks, Rohit
–
Note:
If you are posting an issue,
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
I have created a new js file on path assets >>js >>custom_file.js , i have to include this file in page. For that, in hooks.py(Erpnext) i have assigned my custom js file's path to variable web_include_js. To load the js file on the head my code is,
I have written a function XYZ() in this file, When I called to XYZ, it shows an error "Object has no method XYZ". It means the js file is not be loaded on the page.
Is this right way to load js file? Please provide me the solution
Thanks, Rohit
–
Note:
If you are posting an issue,
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.