Log In · Register

 
Help with jquery
marynmissouri
post Jan 11 2010, 08:54 PM
Post #1


Marynmissouri
***

Group: Member
Posts: 41
Joined: Jan 2008
Member No: 606,116



I have a website I'm uploading and it has a contact form and a jquery file but I cant seem to get the contact form to work? Should I upload it into a different folder then the website folder. Here is the contact form link.
 
 
Start new topic
Replies
Mikeplyts
post Jan 15 2010, 11:37 PM
Post #2


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



Oh, be sure that contact.php is only PHP code, no HTML or CSS. As for the script tag, don't put it in between:
CODE
<!--[if IE 6]>
<![endif]-->

tags because that means that if the browser is Microsoft Internet Explorer 6, it will use that unitpngfix Javascript file to render .PNG type images correctly. The jQuery script tag:
CODE
<script type="text/javascript" src="/js/jquery.js"></script>

should be outside of those IF tags above because if you put them in there, then jQuery will only be called if the browser is Microsoft Internet Explorer 6 (which by the way, is very uncommon to have).

What jQuery files are you talking about? Please be more specific on that (file names and such).

As for the e-mail address to receive messages, I think I've already done that in the contact.php PHP coding that I gave you. It was defined in the variable $to and then used in the mail() function (which sends the e-mail and message information).

This is the e-mail address to use:
CODE
$to = 'contact@hannibalinfo.com';

Then, that variable is used in the mail() function which processes the information into an e-mail client:
CODE
mail ($to, $subject, $message, $from);
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: