473,659 Members | 2,722 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1207
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.javas cript 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

....specificall y 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.c om.au/group/comp.lang.javas cript/browse_frm/thread/16e54001c9ce258 0/39ef46cb24e69a2 2?lnk=gst&q=scr ipt+type+attrib ute&rnum=2#39ef 46cb24e69a22>

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.javas cript 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
2006
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 to that button, so there is no text to be selected. What should I do? Below you'll see some code that I have in one of my forms. I was hoping to have these buttons and when I click on them they would take selected text from a textarea box and...
12
10151
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 scrollbar, you get the height of the entire document, screwing up any chance of centering a window in the browser using these values. Is there a way to get the height of the actual browser window and not the entire page height? Thanks.
2
2676
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 the information is passed correctly. I am now trying to validate the form using JavaScript when the page is submitted. Firefox has no problems with this but IE returns 'document.form1.*THE FORM FIELD*.value is null or not an object' for the...
4
1618
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: The error msg said "document.ha.re1" is null or not a object and can't transfer to the ldapDeleteUserExec.php My friend told me that may be a DOM(Document Object Model) problem.
136
9307
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 code was littered with document.all and eval, for example, and I wanted to create a practical list of best practices that they could easily put to use. The above URL is version 1.0 (draft) that resulted. IMO, it is not a replacement for the FAQ,...
5
2950
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 the tab key when the down arrow key is pressed. (we know there are other way to control focus flow but we use a lot of dynamic jsp fields, that will make the flow control a nightmare, we just want basic tabbing from the arrow key)
2
2091
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) { document.ededfil.pays_origine.checked = true; document.ededfil.pays_origine.disabled = true; document.ededfil.pays_origine.disabled = true; document.ededfil.pays_origine.disabled = true; } else if...
3
2271
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 imply three columns where the first and last columns are narrow and the (implied) middle one getting the bulk of the width. <table border id=tbl> <tr><td colspan=2><nobr>This is supposed to be long</nobr></ td><td>Fred</td></tr>
0
8332
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8746
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8525
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8627
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7356
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6179
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.