Here is my code, my question is in the comment:
function (align) { var column = $(`'<td>'`); // now i need syntax to set align property to this td element // column.align = align (not working) }
As shown, column.align = aligndoes not work.
column.align = align
Where am I going wrong?
You seem to be using jQuery, so you can do something like:
column.attr('align', 'right');
Try the following:
$(column).attr("align","left");
, jQuery? column.attr('align', 'whatev') , CSS.
column.attr('align', 'whatev')
$, jQuery.
$
column DOM, jQuery, :
column
$(column).attr('align', 'left');
, myTD.setAttribute( "align", "right" );
Source: https://habr.com/ru/post/1794683/More articles:dynamic_cast failed to hide character - c ++How to get list of unbuilt files on svn - svnThe problem of creating bioclimatic variables using demo - r packagesWhich dataccess technology is best for CQRS web services? - c #time environment variable for the search path Framework - gccHow to compare "today" (NSDate) with formatted string date (dd / MM / yyyy)? - dateMixing columns and row oriented databases? - performancehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1794686/tools-to-study-source-code-using-git-history&usg=ALkJrhgRJ46W3qQwoKi86G9IaQmoXQukYwOverride views in android? - androidIs there a gcc command line option to turn off the warning: passing argument n discards qualifiers from type - cAll Articles