Click here to Skip to main content
15,886,362 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",record.data.FirstName , record.data.LastName , record.data.LoginId , record.data.Userid , record.data.SessionID ");' />";


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

1 solution

you are missing some quetations, try this
<input type='button' value = 'Log Off' onclick='LogoutClick("true",record.data.FirstName , record.data.LastName , record.data.LoginId , record.data.Userid , record.data.SessionID);' />;
 
Share this answer
 
Comments
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