GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 08-Nov-2008, 10:31
phoenix69 phoenix69 is offline
New Member
 
Join Date: May 2008
Posts: 12
phoenix69 is on a distinguished road
Question

XHTML 1.0 Strict onsubmit return two functions


Could someone help me out with this error? I have to use XHTML 1.0 Strict to validate it. How can I get passed with validation? Any idea? Thanks so much.
Code:
Line 20, Column 12: character "&" is the first character of a delimiter but occurred as data . onsubmit="return validateForm() && validateMessage();"> This message may appear in several cases: * You tried to include the "<" character in your page: you should escape it as "&lt;" * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe. * Another possibility is that you forgot to close quotes in a previous tag.
  #2  
Old 05-Feb-2009, 14:14
blakekl's Avatar
blakekl blakekl is offline
Junior Member
 
Join Date: Nov 2007
Posts: 35
blakekl will become famous soon enough

Re: XHTML 1.0 Strict onsubmit return two functions


Right another function like this:

Code:
function validation() { return (valdiateForm() && validateMessage()); }
then, be sure to change your onsubmit attribute value to:
onsubmit="return validation();"
  #3  
Old 06-Feb-2009, 06:10
Malibase Malibase is offline
New Member
 
Join Date: May 2008
Posts: 3
Malibase is on a distinguished road

Re: XHTML 1.0 Strict onsubmit return two functions


What is XML version you are operating with?
 
 

Recent GIDBlogInstall Adobe Flash - Without Administrator Rights by LocalTech

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Str_Misaligned in Double Link List Peter_APIIT C Programming Language 1 29-Feb-2008 20:50
No output after compile nasim751 Computer Software Forum - Linux 1 29-Jan-2008 09:28
yet another linked list program aijazbaig1 C Programming Language 15 11-Sep-2007 13:18
need help with a console menu system BullBuchanan C++ Forum 6 20-Aug-2006 14:46
Reading non ASCII with read() Atomical C Programming Language 8 13-Sep-2005 14:30

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:33.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.