I have the following code which gives me an error. I want to add the width property programmatically and in %:
firstcombo.width = 90%;
But that gives me the following error:
- 1084 syntax error expecting
rightparen before colon
What is the correct syntax?
Try: