Hi there
I am currently trying to modify a Gannt WebPart in SharePoint, but I am running into some issues with XML and javascript.
I just want to output the value "Project1" inside the ListViewXml tag using Javascript. Is this possible?
<WebPart xmlns:xsi=" xmlns:xsd=" xmlns="<ListViewXml xmlns="[CDATA[<html><body><script type="text/javascript">document.write("Project1");</script></body></html>]]></ListViewXml>
</WebPart>
I have tried replacing the characters <,>," with the "<>qout; tags but no success either
Eventually my idea is to have javascript reading the querystring parameter called "ID" and then outputting that value inside the ListViewXml tag.
Regards
I am currently trying to modify a Gannt WebPart in SharePoint, but I am running into some issues with XML and javascript.
I just want to output the value "Project1" inside the ListViewXml tag using Javascript. Is this possible?
<WebPart xmlns:xsi=" xmlns:xsd=" xmlns="<ListViewXml xmlns="[CDATA[<html><body><script type="text/javascript">document.write("Project1");</script></body></html>]]></ListViewXml>
</WebPart>
I have tried replacing the characters <,>," with the "<>qout; tags but no success either
Eventually my idea is to have javascript reading the querystring parameter called "ID" and then outputting that value inside the ListViewXml tag.
Regards