[Javascript] Absent line breaks in Gmail

Jonathan Gold johnnyclock at gmail.com
Tue Jan 24 23:48:43 CST 2006


Too bad. I came up with this, you might have already seen:
http://forum.access-sys-eu.com/phpBB2/viewtopic.php?p=435&

Thanks for pointing out the Edit Subject


On 1/24/06, Peter Brunone <peter at brunone.com> wrote:
> Still no line breaks, and when you're replying, go directly under the
> recipient and click the "Edit Subject" link.
>
>
> From: Jonathan Gold <johnnyclock at gmail.com>
>
> Paul, I made a change in my gmail settings. Let's see if this works. Here's
> the same message back again (needs no answer now, everyone -- sorry, but I
> haven't figured out (in gmail) how to change the subject line in a forwarded
> email like this). IOf this is better then we can tell gmail users what
> setting to change. Jonathan On 1/24/06, Jonathan Gold wrote: Hi! I have some
> older web pages that use forms and on each one of them I refer to a function
> that clears the entries, thus: function clearColors() { for (var i = 0; i <
> 3; i++) { document.formColors.elements[i].value=""; } } And in the markup I
> use the following: And when I click on a button that says to clear the
> entries, the three text input boxes are cleared. Here's the whole page:
> http://home.pacbell.net/jonnygee/auxiliary/colorpage.htm
> PROBLEM: nowadays, I am trying to write valid XHTML. I seem to need the
> form's NAME attribute for the purpose of the javascript, but the HTML
> validator tells me: This page is not Valid XHTML 1.0 Strict! Below are the
> results of checking this document for XML well-formedness and validity. 1.
> Error Line 104 column 27: there is no attribute "name". You have used the
> attribute named above in your document, but the document type you are using
> does not support that attribute for this element… The upshot is that the
> 'name' attribute has been replaced with the 'id' attribute. In fact, that's
> why I added an id attribute in my form tag. But without the name attribute
> my javascript doesn't function. So here's the QUESTION: How can I refer to
> the form, using its 'id' attribute, in my clearColors code at the top of
> this message. Thanks for any help you can give, Jonathan
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
>


--
Jonathan Gold
Berkeley, CA
http://home.pacbell.net/jonnygee/


More information about the Javascript mailing list