Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


Alert broken on multiple lines



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> JavaScript Forum
View previous topic :: View next topic  
Author Message
mcauliff



Joined: 01 Feb 2007
Posts: 1

PostPosted: Fri Feb 02, 2007 2:55 pm    Post subject: Alert broken on multiple lines Reply with quote

I have a alert code (see below) that is giving me a error "Error Expected ';'" What is the correct way of coding this statement? I'm a newbie to javacript



<script language="javascript">
<!--
window.alert ('Error inserting Order Header into CPRF Table. \nOrder already exists on the CRPF interface tables.' +
'\nError code is <%= DataConn2.Errors(0).Number %> ' +
'\nError description is <%= DataConn2.Errors(0).Description %> ' +
'\nError Source is <%= DataConn2.Errors(0).Source %> ' +
'\nSQL is <%= DataCmd2.Commandtext %> ');
window.history.go(-2);
// -->
</script>

Question
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> JavaScript Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap