What limitations does the source box in the KB Edit have?

What are the limits for putting in custom code in the source box of KB? I am currently trying to make a drop down that is based off an other drop down to guide people to the right article/section. I have tried a few different methods and they work fine in the preview mode of KB the one with the magnifying glass >

However in production the first drop down will work but not the second one. I have two examples - the first the second box is already showing and just populates off the first. 


The second example the second box is supposed to appear once something is selected. 


I put the code in each article  for reference. But if someone could let me know what the limitations are of KB Source edit, That would be very helpful. Or if I just did something wrong.   

Thank you for your help in advance. 

Jeremy Zelasko
Tags html KB limitation source knowledge-base article edit Tier-2
Asked by Jeremy Zelasko on Thu 11/17/16 11:45 AM Last edited Thu 11/17/16 12:54 PM
Sign In to leave feedback or contribute an answer

Answers (3)

This answer has been marked as the accepted answer
Jamey Stock Fri 11/18/16 10:04 AM
Hi Jeremy,

Thank you for linking me to the articles and providing the source as plain-text, it was very helpful. This is occurring because script tags (and all inner contents) are removed from the Source for KB articles. This was a decision previously made to ensure that KB article content is secure and does not contain malicious content.

I hope this helps to explain why your script is not executing in the body of your KB article. Please let us know if you would like additional clarification or there's anything else we can do for you.

Jamey Stock
1 of 1 users found this helpful.

Jackson Potter Fri 11/18/16 12:31 PM
I haven't tried this in the KB yet, but you may be able to implement some menus or tabbed areas using CSS checkbox techniques: https://css-tricks.com/the-checkbox-hack/
No feedback

Jeremy Zelasko Fri 11/18/16 11:59 AM
That makes sense. Thank you for your help.
No feedback