Reputation: 207
I can set the border color property through using the jquery css method but when reading the border color property back through IE and Firefox, I get different format values. To get around this issue, I add a class name including the border color like this:
$('#'+ pageSection[sectionIndex] +'').addClass("addBordeColor");
.addBorderColor
{
border: 2px color black;
}
This is not working properly. Any ideas on how troubleshoot this problem?
Upvotes: 0
Views: 250
Reputation: 318658
By fixing the syntax error:
Replace
$("#" +pageSection[sectionIndex]").addClass("addBordeColor")
with
$("#" +pageSection[sectionIndex]).addClass("addBorderColor")
Upvotes: 3