Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var item = {};
- item.name = "Option 1";
- if (item.addTags==true || item.addTags==null) {
- // user wants to add tags. if not set then default is to add tags
- }
- else {
- // property is set and is not true. do not add tags
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement