Question

What is considered an empty SharePoint list item when doing if else condition via JavaScript? "", null, or something else?

Pas de solution correcte

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top