1
vote
0answers
423 views

Javascript in CEWP queries a list every time dropdown is changed on NewForm.aspx not working

I am trying to apply javascript in a CEWP to a NewForm.aspx page of a simple custom list. Basically, the idea is to auto-populate a text field on the new item form whenever a dropdown column's ...
0
votes
1answer
176 views

How to get the list item column values based on the html drop down and display in the alert box using Javascript?

I have a html dropdown list(team name) which contains three values A,B,C I have a sharepoint 2010 List A which contains Team name and Email. List A Teamname Email A A@test.com B ...
2
votes
0answers
117 views

Dynamically Setting a List View on a WebPart Page

I have been unable to load a page showing a dynamicaly selected View. I can not just display the List itself (Although this would allow me to specify the View in the URL) because I need to modify ...
2
votes
1answer
237 views

Changing Content Editor Programatically - Client model API?

Is it at all possible to make changes to or add a content editor to a page using only the Client Object Model API? There does not appear to be any reference to a ContentEditorWebPart dll.
0
votes
1answer
89 views

Searching for a CEWP on a page using jquery

I have a requirement where in i have to set the link of the CEWP using jquery on a button click. The approach i was thinking of is : On button click , find the CEWP on the page. Change the link to the ...
1
vote
1answer
997 views

Get the content of a content webpart with the client object model

Is it possible to get the content of a content webpart by using the client object model of SharePoint? The usage scenario: I want to copy a site page (with content in content editor webparts) from ...
0
votes
2answers
932 views

Javascript How can I return a value for document.write in CEWP with javascript

I am new to this, and I am just trying to understand how to use some of the javascript I have learned in different ways. This may be a question of context, but an examples or explanation is always ...
2
votes
2answers
1k views

JavaScript with CEWP using ClientContext, do I need to add src to tag?

I am new to SP Dev and I am trying to add some CEWPs that reference javascript I have placed in text files and uploaded to a document library. For bland functions it seems to work fine, however for ...