I have a <table> and 3 <tr>.
Each time the <td> content is modified,
The class name of cell is change from 'cell1', 'cell2', 'cell3'.....
I must modify my javascript when publish html every time.
Can you give me a 'class' attribute to set? Thank you!!
suggest: about cell class name of table.
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
suggest: about cell class name of table.
I'm come from Taiwan.
Re: suggest: about cell class name of table.
The name of the class of a table cell depends on the content of the cell and the context of the table within the page.
For example, if all styles of the cell are the same as the table then no class may be added. The name of the class is dynamically determined each time the page is generated.
Also, there is no guarantee that the cell is always named the same. This may change in future updates.
So, if you use a custom script then it's better to use a different way of querying the cell, for example based on its index.
For example, if all styles of the cell are the same as the table then no class may be added. The name of the class is dynamically determined each time the page is generated.
Also, there is no guarantee that the cell is always named the same. This may change in future updates.
So, if you use a custom script then it's better to use a different way of querying the cell, for example based on its index.
Re: suggest: about cell class name of table.
I like use class ex: $('.cell2').html('....');
I'm come from Taiwan.
Re: suggest: about cell class name of table.
Sorry, you will have to find any other way. The class name of the cell is not guaranteed to be the same in all cases.