Click here to Skip to main content
15,793,452 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my code is
return "<input type='button' value = 'Log Off' onclick='LogoutClick(true", , , , , ");' />";

what is the syntax error here...
plz help me ...

1 solution

you are missing some quetations, try this
<input type='button' value = 'Log Off' onclick='LogoutClick("true", , , , ,;' />;
Share this answer
sanjaysgh 6-Oct-14 1:02am    
sir its not working still i am getting syntax error
Samatha Reddy G 6-Oct-14 1:36am    
can you please put your LogoutClick() function code

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900