public function setContent($value)
    {
        if (strpos(strtolower($value), 'getelementbyid') > 0) {
            $this->options['content'] = new JsExpression($value);
        } else {
            $value = preg_replace('/\r\n|\n|\r/', "\\n", $value);
            $value = preg_replace('/(["\'])/', '\\\\\1', $value);

            $this->options['content'] = $value;
        }
    }