You need to sign in to do that
Don't have an account?
Luke@TWS
Editor Javascript bug?
Having a little problem with the page editor, if i'm adding a little javascript like
the page gets generated with:
Message Edited by Luke@TWS on 07-23-2008 07:14 AM
Code:
for (i=0; i<categories.length;i++)
{
var option = document.createElement("Option");
option.value = boundaries[i];
option.text = categories[i];
option.style.fontWeight = "bold";
try { lstA.add(option,null); }
catch (e) { lstA.add(option); }
}
the page gets generated with:
Code:
for (i=0; i<categories fontWeight="bold" .length;i++)
{
var option = document.createElement("Option");
option.value = boundaries[i];
option.text = categories[i];
option.style.;
try { lstA.add(option,null); }
catch (e) { lstA.add(option); }
}
Message Edited by Luke@TWS on 07-23-2008 07:14 AM
I do get a warning in the online VF page editor:
Warning: Element type "categories" should be followed by either attribute specifications, ">" or "/>". at line 3
I've opened a bug for my team to track this issue.
Message Edited by dchasman on 07-23-2008 11:24 AM