473,410 Members | 1,875 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

Implied Document form problem.


This program http://www.tinaja.com/demo28b.asp seems to work perfectly
(for where it is at in the development and debug process) when run
inside GoLive.

Moving it online and viewing it with Firefox, nothing happens as no
variables are recognized. Error in the Firefox javascript console says
"PickMS is not defined" and similar.

An "implied document" form was assumed, with the script being placed
after all HTML. There were no new seperate form and /form statements.

Yet adding a <FORMand </FORMin GoLive seems to create the opposite
problem.

What am I doing wrong?

--
Many thanks,

Don Lancaster voice phone: (928)428-4073
Synergetics 3860 West First Street Box 809 Thatcher, AZ 85552
rss: http://www.tinaja.com/whtnu.xml email: do*@tinaja.com

Please visit my GURU's LAIR web site at http://www.tinaja.com
May 3 '07 #1
4 1191
Don Lancaster wrote:
>
This program http://www.tinaja.com/demo28b.asp seems to work perfectly
(for where it is at in the development and debug process) when run
inside GoLive.

Moving it online and viewing it with Firefox, nothing happens as no
variables are recognized. Error in the Firefox javascript console says
"PickMS is not defined" and similar.

An "implied document" form was assumed, with the script being placed
after all HTML. There were no new seperate form and /form statements.

Yet adding a <FORMand </FORMin GoLive seems to create the opposite
problem.

What am I doing wrong?
There are a few things:

"Expected ':' but found '='. Declaration dropped."

That is the first thing I see when I allow JavaScript.

Second, the use of the language attribute in a script tag is deprecated.

Third, HTML 3.2? You are kidding right?

Lastly, you are going to have to cut the error down to a small example
that people can easily read over, otherwise you will never get answered
if you expect someone to read through 1,357 lines of markup, style, and
script.

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
May 4 '07 #2
-Lost said the following on 5/3/2007 11:56 PM:

<snip>
Second, the use of the language attribute in a script tag is deprecated.
So is the type="text/javascript" so what would you propose people use? I
am not advocating the use of the language attribute (far from it), just
curious as I see a lot of people that are quick to point out that
language is deprecated and recommend the type="text/javascript" yet it
is also deprecated.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
May 4 '07 #3
Randy Webb wrote:
-Lost said the following on 5/3/2007 11:56 PM:

<snip>
>Second, the use of the language attribute in a script tag is deprecated.

So is the type="text/javascript" so what would you propose people use? I
am not advocating the use of the language attribute (far from it), just
curious as I see a lot of people that are quick to point out that
language is deprecated and recommend the type="text/javascript" yet it
is also deprecated.
Um, I did not recommend the type attribute at all. I merely said the
language attribute was clearly deprecated. As:

http://www.w3.org/TR/html401/interact/scripts.html

....specifically states that it was deprecated.

However, I do not know other than by your mention, if the type attribute
is deprecated. In fact, that is why I did not mention the type
attribute because I believed what I have seen you say every time someone
did mention type over language.

See. I learned something from you. :)

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
May 4 '07 #4
-Lost said the following on 5/4/2007 2:27 AM:
Randy Webb wrote:
>-Lost said the following on 5/3/2007 11:56 PM:

<snip>
>>Second, the use of the language attribute in a script tag is deprecated.

So is the type="text/javascript" so what would you propose people use? I
am not advocating the use of the language attribute (far from it),
just curious as I see a lot of people that are quick to point out that
language is deprecated and recommend the type="text/javascript" yet it
is also deprecated.

Um, I did not recommend the type attribute at all. I merely said the
language attribute was clearly deprecated.
I know. I was just asking what you would recommend people should use
instead of the language attribute.

As:
>
http://www.w3.org/TR/html401/interact/scripts.html

...specifically states that it was deprecated.

However, I do not know other than by your mention, if the type attribute
is deprecated. In fact, that is why I did not mention the type
attribute because I believed what I have seen you say every time someone
did mention type over language.
<URL:
http://groups.google.com.au/group/comp.lang.javascript/browse_frm/thread/16e54001c9ce2580/39ef46cb24e69a22?lnk=gst&q=script+type+attribute&r num=2#39ef46cb24e69a22>

Will lead you to the essence of the discussion about
type="text/javascript" being deprecated/obsoleted.
See. I learned something from you. :)
:-)

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
May 4 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: lawrence | last post by:
I'm a beginner with Javascript and especially cross-browser Javascript. I got this working in IE, but not in Netscape 7. It seems like, in Netscape, every time I click on a button, the focus shifts...
12
by: Kepler | last post by:
How do you get the height of the client browser in IE? Both document.body.clientHeight and document.body.offsetHeight return the height of the document. If the page is long and there's a vertical...
2
by: Dave | last post by:
I have a page which uses JavaScript to create form elements using document.createElement('input'), etc.. Both Firefox and IE have no problem accomplishing this and when the form is submitted all...
4
by: jiing.deng | last post by:
I want to transfer a value "re1" to ldapDeleteUserExec.php The "alert(document.ha)" appears a dialog and shows "undefined." The "alert(document)" shows "object" But there seems some problem:...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
5
by: WilliamRLinden | last post by:
Hi world! we are pretty new to JavaScript and have been struggling for now 2 days on this problem ... We would appreciate mercy if anyone can give us some. Basically we are trying to simulate...
2
by: kigoobe | last post by:
Well, I'm getting an error. Here is the function, what, according to FF's consolde is generating the error. function citizen3() { if (document.ededfil.nationalite.checked == true) { ...
3
by: Csaba Gabor | last post by:
I have a table with 3 rows, and two pieces of data to display in each row. However, the first element of the last two rows and the 2nd element of the 1st row are very short. This would seem to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.