Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: Getting Content Type within EditForm.aspx

Got it.

The Content Type is displayed in a select, not an input element. Try this:
var strContentType = $("select[title$='Content Type']").val();
alert("Content Type: " + strContentType);
You should get good at looking into the DOM with a DOM inspector like Firebug.

M.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>