Forum Discussion
KirtanPatel
6 years agoQrew Trainee
So loading the script "page2.js" into the script "page1.js" worked just fine with click and change events. So basically the approach here would be to create a Main.js file and load all other javascript pages with $.getScript("URL") as Chayce Duncan suggested.
Though, I want to outline one silly mistake that I made with URL so no one else had to go through it.
- Make sure to load script as "https://yourdomain.quickbase.com/db/bnnp8ryeg?a=dbpage&pageID=71" and don't copy and paste the page link as it contains "a=pageedit" which we don't need. What we want is "a=dbpage".
- Please follow the link below for more instructions on loading pages in QB.
https://community.quickbase.com/quickbase/topics/how-to-create-javascript-pages
Please feel free to give your thoughts.
PS: Not the answer that I was looking for but this is going to work just fine.
Though, I want to outline one silly mistake that I made with URL so no one else had to go through it.
- Make sure to load script as "https://yourdomain.quickbase.com/db/bnnp8ryeg?a=dbpage&pageID=71" and don't copy and paste the page link as it contains "a=pageedit" which we don't need. What we want is "a=dbpage".
- Please follow the link below for more instructions on loading pages in QB.
https://community.quickbase.com/quickbase/topics/how-to-create-javascript-pages
Please feel free to give your thoughts.
PS: Not the answer that I was looking for but this is going to work just fine.