Adding single quotes will simply pass things through as strings. I highly doubt that this is what you want to achieve.
If the Javascript does not get added, you are either not calling the script you think, or the code branch you think, or the array you think you're adding is empty.
Please show a short (20 lines) self-contained example that exhibits the problem.
In reply to Re^3: header - javascript
by Corion
in thread header - javascript
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |