jeudi 12 novembre 2015

change css of div from variable

Is it possible to add style to a div using a JS variable: g_heightOfKildareImage for e.g. in c# would look like:

<div id="ButtonsDiv" class="storyBoardButtons" style="bottom:" + g_heightOfKildareImage + "" />

Aucun commentaire:

Enregistrer un commentaire