Skip to main content
2 of 2
More specific that I need the sharepoint syntax for a choice type field
John
  • 13
  • 2
  • 5

SP 2013 - JQUERY to check the value of a choice type field

Im hoping someone could supply me the proper SHAREPOINT SYNTAX to use in JQUERY code to check what the value of a SHAREPPOIINT CHOICE TYPE field.

I thought I needed to check a checkbox type field so I started with:

 if ($("input[title$='Phone Data Collection']").is(':checked'))

...and looked for a change event with...

 $("input[title$='Phone Data Collection']").click(function()

{

    //If checkbox is checked then hide the fields

    if (this.checked)

But now that I know it is a SHAREPOINT CHOICE TYPE field I'm a little lost. I'm not returning the SHAREPOINT CHOICE TYPE field value and I don't know who to trigger the SHAREPOINT CHOICE TYPE field change event. Please help...

John
  • 13
  • 2
  • 5