fab48 fab48 - 1 year ago 481
Node.js Question

how add jade in iframe?

I have this code in a file


iframe(src="file2.jade" width='100%' height='4000' frameborder=0 scrolling='no')

file is in the same folder as this file, but does not insert the file, what can I do?.


Answer Source

Adding .jade file to an iframe does not make sense. Iframes are processed by a browser, and browser expects html, not jade.

So the answer depends on what are you trying to do, maybe include directive will help.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download