Skip to main content
Nintex Community Menu Bar
Solved

how to add CSS code with javascript to K2 smartform

  • May 13, 2020
  • 2 replies
  • 405 views

Forum|alt.badge.img+4

I am creating a horizontal timeline which would be dynamic. It has html,CSS and Javascript.

I have added datalabel and created expresstion with <html><style>--</style></html><script>--</script>

but only css code is running. javascript is not working.

 

Could you please let me know how to add all together. 

 

Best answer by boringNerd1

Have you tried moving the <script> block to inside the <html> block?

2 replies

Forum|alt.badge.img+15

Have you tried moving the <script> block to inside the <html> block?


Forum|alt.badge.img+4
  • Author
  • May 14, 2020

Hi

Its working fine now..I added <script type="text/javascript> and it does the magic!

Thanks for suggestion