Forum Discussion

Re: how to create javascript pages

Hi Robert,

Just to let you know that we use link tag to reference the CSS files and for javascript, we use script tag.

Here are the examples.

For CSS:
<link rel="stylesheet" href="https://yourdomain.quickbase.com/db/bnnp8ryeg?a=dbpage&pageID=70">
For JavaScript:
<script src="https://yourdomain.quickbase.com/db/bnnp8ryeg?a=dbpage&pageID=71"></script>
You can actually use the page name as well.

https://yourdomain.quickbase.com/db/bnnp8ryeg?a=dbpage&pageName=main.css
https://yourdomain.quickbase.com/db/bnnp8ryeg?a=dbpage&pageName=modal.js
_I would suggest you to always use ID because if someone changes the name later then, no need to change the name in your code as you have referenced the ID not name. :)

Please let me know if need any further information.

Thanks,
Gaurav 
No RepliesBe the first to reply