Hello,
How do I set a variable in jquery that will contain the content type that is displayed on a SharePoint page?
I've tried several things inside the $(document.ready(function()
- var txtContentType = $("select[id='ContentTypeId']").val();
- var txtContentType = $("select[title='ContentTypeId']").val();
- var txtContentType = $("select[title='Content Type]").val();
Thanks,
Thanks! Patti N.