I've designed two websites this past year using basic HTML in which i've employed an email signup form that has worked using sendmail.php
Now, i'm designing my first site with CSS. It's going pretty well, and i thought i could employ that email signup the same way, but when i do, it doesn't work. The validator tells me that: Error Line 61 column 418: there is no attribute "onClick".
So, i know i can't use that old code, i'm used to using. I've been digging around online and I'm reading stuff about .js but i don't want to tackle a whole new thing if i don't have to.
As always, i'm on a deadline and need the easiest reliable fix.
the site is: http://www.omyminimag. com and the code is on the 'connect' link at the top.
(*btw I'm looking to hook-up with someone who is really good at css and php that i can subcontract to for small things like this--if anyone is interested, please let me know.)
9 1821
Two things. First, your doctype is incorrect. It should be this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
New pages should always use strict, though.
Second thing is xhtml is case sensitive. So you should be doing 'onclick' in lower case, not 'onClick'.
I appreciate your response. However, I am in Transistional mode. And, just making code lowercase isn't going to make it work--there's more to it, right?
just making code lowercase isn't going to make it work--there's more to it, right?
Or you could print the code out, place it in a brown paper bag, wave it over your head and scream like a chicken.
well, this forum is a waste of time apparently.
You are wasting our time by not doing as instructed. I told you Xhtml requires lower case but you declare that won't fix it without trying. So, go away.
AricC 1,892
Recognized Expert Top Contributor
melrox,
Change the doctype and the onclick then let us know, saying this is a waste of time won't get your problem fixed. People are here to help but if your going to blow off our suggestions/fixes then why did you ask for help in the first place?
I already stated that the doctype was already in Transistional mode. When I read that about lowercase, I changed the whole string of text into lowercase and it still didn't work. Then, i went back and wrote that about it ... 'there must be more to it, right?"
I come back and there's a smart ass remark about a paperbag--so i figure, it was a waste of time.
I just went back and changed only the onClick to lowercase and it cleared it up. Thank you. It seems odd that the onclick has to be lowercase but "MM_openBrWindo w" gets to be uppercase. It threw me off in light of what the validation error was telling me.
When someone is frustrated enough to seek out a forum that may not be the time or place for sarcasm from complete strangers.
AricC 1,892
Recognized Expert Top Contributor
The reason "MM_openBrWindo w" works is this is a user defined function where as onclick is not. You have to admit the paperbag comment is somewhat funny.
You didn't say you had tried it. You said:
just making code lowercase isn't going to make it work
I told you to change onClick to lower case but you didn't do it. Then, when you did, it worked as I said it would.
I said your doctype is incorrect. You said you were already using 'transitional' but THE DOCTYPE IS INCORRECT. Check the differences.
You may be frustrated but I was frustrated trying to help you when you appear to be ignoring my help.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Babaloo |
last post by:
Hello,
I am having a problem with PHP 4.2.2 and RH 8. PHP is working fine except
email.
I have a test script to send mail, I have sendmail_path =
'/usr/lib/sendmail -t -i' set in php.ini, sendmail can send mail from the
command line but if I use the script I get the following error on the http
log file:
|
by: jim |
last post by:
Hello,
I am having a problem w/SendMail reporting: " No recipient addresses
found in header".
Funny thing is though, I properly recieve the email message.
Thanks for your help.
-jim
|
by: mike |
last post by:
I've spent a couple of days on this and I'm to the "bang-my-head
'gainst the monitor and babble in tongues" mode.
First - SuSE Pro 9.3, Linux 2.6.11.4-21.7, Apache 2.0.53, PHP 4.3.10
I have sendmail running on the local server - mail from unix (1) mail
and mutt work locally on the server. This is, specifically, sending
mail to a localhost user or another user off on the net somewhere
works fine.
|
by: Gaz |
last post by:
Hey. I looked at the Sendmail help and did not find a property where i
can get an "ok" signal when the email is finally sent. I need something
like that to show a "Processing, please stand by" screen when the
server is sending an email, and when the email is out, another screen
appears with an "Email sent" message.
Do you know an alternative to the "ok" from the sendmail to do this?
|
by: swangdb |
last post by:
I have a Sun Server running Solaris 10 and Sendmail 8.13.7. I have
Majordomo and Listproc installed on this server and they work. I have
several production majordomo and listproc mailing lists installed on
this server and they work.
I am trying to get Mailman to work on this server and so far, no luck.
I installed the software (Mailman 2.1.8 and Python 2.4.3), reconfigured
mm_cfg.py, started the software, added the cron entries,...
| |
by: Nilesh |
last post by:
I have a server in which sendmail gives problem. How do i change
php.ini so that i can use exim for mail()
System is FC-6.
|
by: s2rinivasan |
last post by:
I am srinivasan
I sent a last message hoe to trouble shoot httpd passwd acces problum.
In that I didn't menson that
OS=RedHat LINUX EL4-2.6.9-5.
This question also in the same version.
In sendmail configuraton I did configure very carefully in /sendmail.mc
and redirect it to /sendmail.cf by
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
and alternate the current version to /usr/sbin/sendmail.sendmail
but when restart the
|
by: Taras_96 |
last post by:
Hi all,
The PHP manual states that: "The Windows implementation of mail()
differs in many ways from the Unix implementation. First, it doesn't
use a local binary for composing messages but only operates on direct
sockets which means a MTA is needed listening on a network socket
(which can either on the localhost or a remote machine). "
Does this mean that the sendmail binary is NOT needed on windows?
|
by: digitaldiva |
last post by:
Hi I am new here and once upon a time I worked with Perl, now I am trying again and need some help:
I wrote a Perl script a few years ago that opened an order entry TXT file and sent each customer with an email address a confirmation email in html or txt. Simple enough and very effective.
Now I am editing this script to send a general email blast on a new computer... I have ActivePerl 5.10.0 Build 1003 installed. I downloaded...
|
by: jhoborg |
last post by:
Hello all,
So I'm having trouble using sendmail in a CGI script as the topic title says.
Here's what I'm trying to accomplish:
User fills out a form, submits it, my CGI script receives this data, emails it to me, then displays a "thank you" html page to the user. Here's a look at the code that calls sendmail:
unless (open (MESSAGE,"| /usr/sbin/sendmail -t")){
die "Can't open sendmail: $!";
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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...
|
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...
|
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...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |