logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 12-04-2016, 05:55 PM   #1
Crumpy1
Crumpy1's Avatar
 
Join Date: Aug 2011
Location: England
Posts: 246
Default JS Scripts Wont Load

Hi All,

I have loaded all of my JS to the relevant folders and added the location to all of these in the header.

However, these are not loading when I run from the server.

The form I created should look like this: http://tinyurl.com/gry39js, but instead, it looks like this http://tinyurl.com/haumpkb. I'm sure the answer is obvious but 5hrs later I am no closer to identifying the cause.

Can anyone advise what I have done wrong or offer any suggestions?

Thank you.
Crumpy1 is offline   Reply With Quote
Old 12-04-2016, 06:56 PM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

is it working locally?
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 12-05-2016, 08:09 AM   #3
Crumpy1
Crumpy1's Avatar
 
Join Date: Aug 2011
Location: England
Posts: 246
Default

Hi Edbr,

No, this is not working locally or remotely.
Crumpy1 is offline   Reply With Quote
Old 12-05-2016, 08:19 AM   #4
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

do you have a url so can see?
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 12-05-2016, 09:17 AM   #5
Crumpy1
Crumpy1's Avatar
 
Join Date: Aug 2011
Location: England
Posts: 246
Default

I assume you mean a link to the page where this is not working? If so, this is the same link as i posted in my first post - http://tinyurl.com/haumpkb - this should take you to the page where the scripts refuse to load.
Crumpy1 is offline   Reply With Quote
Old 12-06-2016, 12:27 AM   #6
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

oops sorry i thought that was a screenshot.

i looked at a working demo of this and i see this
<script type="text/javascript" src="js/smart-form.js"></script>

which i dont see on yours but i mihght have missed it
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas

Last edited by edbr; 12-06-2016 at 12:36 AM..
edbr is offline   Reply With Quote
Old 12-06-2016, 01:05 AM   #7
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

ok i went further with this and i see now that you have added that file in line as the call back.
i just copied the demo from the site origin and it works fine so im thinking that one of your files possibly java script are not correct maybe incomplete.
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 12-06-2016, 07:23 AM   #8
Crumpy1
Crumpy1's Avatar
 
Join Date: Aug 2011
Location: England
Posts: 246
Default

Hi Edbr,

Sorry, i forgot to mention that this was a Code Canyon plugin called Smart Forms. I have copied the source files into my js & CSS directories and added them correctly in the code.

As you say, it is like the code is broken somewhere as it will not load the JS scripts in the browser.

The file smart-froms.js is not in this particular demos files but i as it came with another 39 different ones i will have a plough through these and see if adding this fixes the issue.

Thank you for looking into it, hopefully, adding this file fixes everything
Crumpy1 is offline   Reply With Quote
Old 12-06-2016, 11:28 AM   #9
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

yes i actually downloaded the files from the demos. bit sneaky but there you go
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 12-07-2016, 12:41 AM   #10
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

if it helps i put the files in a zip for now so you can download if you want goo.gl/vJNwKt> jqery form. And no i dont care about the typo
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:44 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com