I have added one custom field 'ABC' of Field Type 'HTML' on doctype Quotation. In the "Options" of that field i have written code <div style="width:100%" id="dynamic"></div>
On load, i have to fetch that div using id 'dynamic' and append a table to that div
Is there any another way to access the div(id='dynamic') which is assigned to field 'ABC' ? please provide 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 added one custom field 'ABC' of Field Type 'HTML' on doctype Quotation. In the "Options" of that field i have written code <div style="width:100%" id="dynamic"></div>
On load, i have to fetch that div using id 'dynamic' and append a table to that div
Is there any another way to access the div(id='dynamic') which is assigned to field 'ABC' ? please provide 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.
To check the issue, i have added an alert below the actual code.
$("#dynamic").html('<table style="width:100%;overflow:none" class="display" id="data_table"><tr><td>WELCOME to jungle</td></tr></table>')
alert("hii") // to check the issue
I have seen that my first code is working when alert popup show on screen and when i click on ok to close the alert popup the table is not showing in the field.
Please provide the solution
Thanks, Rohit
Regards
On Wed, Jul 16, 2014 at 11:28 AM, Anand Doshi <an...@erpnext.com> wrote:
I have added one custom field 'ABC' of Field Type 'HTML' on doctype Quotation. In the "Options" of that field i have written code <div style="width:100%" id="dynamic"></div>
On load, i have to fetch that div using id 'dynamic' and append a table to that div
Is there any another way to access the div(id='dynamic') which is assigned to field 'ABC' ? please provide 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.
If the alert is coming up, it means that you jquery has problems. You need to debut this using the console, like checking if $("#dynamic") returns anything, etc.
To check the issue, i have added an alert below the actual code.
$("#dynamic").html('<table style="width:100%;overflow:none" class="display" id="data_table"><tr><td>WELCOME to jungle</td></tr></table>')
alert("hii") // to check the issue
I have seen that my first code is working when alert popup show on screen and when i click on ok to close the alert popup the table is not showing in the field.
Please provide the solution
Thanks, Rohit
Regards
On Wed, Jul 16, 2014 at 11:28 AM, Anand Doshi <an…@erpnext.com> wrote:
I have added one custom field 'ABC' of Field Type 'HTML' on doctype Quotation. In the "Options" of that field i have written code <div style="width:100%" id="dynamic"></div>
On load, i have to fetch that div using id 'dynamic' and append a table to that div
Is there any another way to access the div(id='dynamic') which is assigned to field 'ABC' ? please provide 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.