I am having a SharePoint list which has a drop down menu field.

I want to show an alert as soon as a user selects any item from the drop down menu.

  • 2
    why? what are you trying to achieve?
    – teylyn
    Commented Oct 14, 2016 at 6:19
  • I want to insert the selected value in the drop down to another list. But it should be added as soon as any item is selected in the drop down.
    – Rahul
    Commented Oct 14, 2016 at 8:23

1 Answer 1


Add the following code at script editor that show an alert message when an item selected from the choice field at your form.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>


$("select[title='choice column name']").change(function() {
if ($("select[title='choice column name']").val() != "the selected value")



For step by step guide with images check Show / Hide fields based on choice field selection using JQuery in SharePoint


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.