cant define a variable in html : guys i cant define variable in html .. here is my code

    sb.appendHtmlConstant("<div id='Button +"i"' class=\"" + getClass(c.getIndex()) + "\">");

here i cant define "i" to be a variable .. any help please ??

thanks a lot 


