Replace "name" attribute by "id" in dhx_cal_tab div

When I try to validate (using w3c validator) I get the following error: there is no attribute “name”

<div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>

I think it’s a good idea to replace the attribute name (which is invalid in that context) and use id instead.

I already made this change in “dhtmlxscheduler.js” and didn’t find any problem yet.

thanks!

The name field in a div also causes problems when using JSF tag libraries to generate the layout, they will not generate the “name” attribute because it is not valid in a div. :frowning: An example of this is the Seam <s:div> tag which is nice for deciding dynamically to render the tab or not. This is causing me grief. What changes did you have to make in dhtmlxscheduler.js?

Thanks