Blank or empty field in a list item using JavaScript
-
08-02-2021 - |
Domanda
What is considered an empty SharePoint list item when doing if else condition via JavaScript? "", null, or something else?
Nessuna soluzione corretta
Altri suggerimenti
I just did an alert to show what the empty list item was showing. It showed null. SO I i changed it to
if (whatever("whatever")==="" || whatever("whatever")=null)...
it now shows what I want to show.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange