By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,461 Members | 1,002 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,461 IT Pros & Developers. It's quick & easy.

Problem with Onclick javascript: Expected ';'

P: 1
Hi - totally ignorant on javascript need some help, getting the above error, my code is;

Expand|Select|Wrap|Line Numbers
  1. if('{!Event.Audit_Id__c}' == '')
  2. window.location.href = '{!Event.Subject}&00N20000001ebQE={!Event.Id}'; 
  3. else 
  4. alert('Event already linked to an Audit record'); 
  5. }
Mar 18 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.