Quantcast
Channel: Super Feed from MSCRM Technical Insight by Jonathan Nachman
Viewing all articles
Browse latest Browse all 130

CRM4: Clearing a picklist quickly

$
0
0

Developing a solution involving picklist and language translations and i needed a way to clear the picklist quickly.

The obvious way was to use the DeleteOption whilst iterating through the Option array.

This was rather slow - so i went straight for the kill.

crmForm.all.new_picklist.innerHTML = "";

Clearing the innerHTML basically clears all the options HTML within this control.


Viewing all articles
Browse latest Browse all 130

Trending Articles