Email Form Script External Question
Page 1 of 114 Replies - 2161 Views - Last Post: 24 January 2012 - 04:52 AM
#1
Email Form Script External Question
Posted 20 January 2012 - 07:36 PM
Replies To: Email Form Script External Question
#2
Re: Email Form Script External Question
Posted 21 January 2012 - 01:15 AM
#3
Re: Email Form Script External Question
Posted 21 January 2012 - 08:09 PM
#4
Re: Email Form Script External Question
Posted 22 January 2012 - 03:08 AM
#5
Re: Email Form Script External Question
Posted 22 January 2012 - 09:34 AM
#6
Re: Email Form Script External Question
Posted 23 January 2012 - 04:01 AM
- a JS syntax error
- invalid URI
- JS content in a script tag already referencing a JS source
- executing the JS script before the DOM/page is ready (i.e. you can't access elements not yet rendered)
- sometimes it matters if you use file:// or http://
#7
Re: Email Form Script External Question
Posted 23 January 2012 - 07:24 AM
Quote
-
- executing the JS script before the DOM/page is ready (i.e. you can't access elements not yet rendered)
Can I check if the JS code is being executed before the DOM page ? From my understanding there is no JS syntax errors. There are no HTML errors in the page, that rules out any script tags that shouldn't be there. Arrrghh !
This post has been edited by Reprobus: 23 January 2012 - 07:26 AM
#8
Re: Email Form Script External Question
Posted 23 January 2012 - 07:38 AM
Reprobus, on 23 January 2012 - 03:24 PM, said:
JS scripts are executed when they are loaded, i.e. immediately.
Reprobus, on 23 January 2012 - 03:24 PM, said:
did you check in the Error Console?
Reprobus, on 23 January 2012 - 03:24 PM, said:
did you verify that? (w3.validator.org)
#9
Re: Email Form Script External Question
Posted 23 January 2012 - 09:08 PM
Quote
The only error is from a Google SEO and jQuery 1.4 but when the code was embedded into the page, these errors were not to be seen. I can't update jQuery because I have a script that won't work on newer version of jQuery.
Quote
Yes, there are no errors in the HTML. My guess is how it's being loaded, I have the script at the top of the page in the <head>, no in the <body>. How can I find what is causing me this headache.
#10
Re: Email Form Script External Question
Posted 23 January 2012 - 09:35 PM
or provide a link to a test site versions of what you are doing?
We can guess all day as to what you are doing wrong, but it would be faster to see!
#12
Re: Email Form Script External Question
Posted 23 January 2012 - 11:23 PM
#13
Re: Email Form Script External Question
Posted 23 January 2012 - 11:40 PM
#14
Re: Email Form Script External Question
Posted 24 January 2012 - 03:45 AM
Quote
<script type="text/javascript">
This post has been edited by Reprobus: 24 January 2012 - 03:46 AM
|
|

New Topic/Question
Reply



MultiQuote





|