Parsing error: Unexpected token else
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2024 03:56 AM
post else statement, i am getting this error for on submit client script.
any leads please let me know.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2024 03:59 AM
semicolon ; after If condition is the root cause of this error so remove ; from Line number 10 and try again.
Please mark my answer helpful/accept solution if it helped.
Please appreciate my efforts, help and support extended to you by clicking on – “Accept as Solution”; button under my answer. It will motivate me to help others as well.
Regards,
Nikhil Bajaj
Regards,
Nikhil Bajaj
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2024 04:45 AM
Thanks @Nikhil Bajaj9 it worked!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2024 09:20 PM
Great- Can you please mark my answer as - Solution accepted means the correct answer.
Please appreciate my efforts, help and support extended to you by clicking on – “Accept as Solution”; button under my answer. It will motivate me to help others as well.
Regards,
Nikhil Bajaj
Regards,
Nikhil Bajaj