Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 31, 2012 09:22 AM by Catherine Shan - MSFT
Participant
1970 Points
1395 Posts
May 29, 2012 03:11 PM|LINK
<a href="javascript:ShowDialog(true,<%# Eval('ClassifiedId') %>);" id="aSms" runat="server"> SMS</a>
I have binding the above format. but i always getting eoor:
Unexpected token <
but i checked my javascript fucntion and markup all things are perfect,,
thing is when i click the link it will not enter into that function.
Star
13435 Points
2022 Posts
May 29, 2012 03:29 PM|LINK
Check your view source of page and make sure rendered html is fine. It might be data issue.
May 30, 2012 04:00 AM|LINK
I could not find any wrong thing in my source, all are in a good format.
All-Star
23382 Points
2490 Posts
Microsoft
May 31, 2012 09:22 AM|LINK
Hi,
It seems work in my machine. In order to resolve your issue, could you post all corresponding codes?
Thank you for your support!
ssjGanesh
Participant
1970 Points
1395 Posts
Unexpected token <
May 29, 2012 03:11 PM|LINK
<a href="javascript:ShowDialog(true,<%# Eval('ClassifiedId') %>);" id="aSms" runat="server">
SMS</a>
I have binding the above format. but i always getting eoor:
Unexpected token <
but i checked my javascript fucntion and markup all things are perfect,,
thing is when i click the link it will not enter into that function.
Mark as answer,if it helped U!
urenjoy
Star
13435 Points
2022 Posts
Re: Unexpected token <
May 29, 2012 03:29 PM|LINK
Check your view source of page and make sure rendered html is fine. It might be data issue.
ssjGanesh
Participant
1970 Points
1395 Posts
Re: Unexpected token <
May 30, 2012 04:00 AM|LINK
I could not find any wrong thing in my source, all are in a good format.
Mark as answer,if it helped U!
Catherine Sh...
All-Star
23382 Points
2490 Posts
Microsoft
Re: Unexpected token <
May 31, 2012 09:22 AM|LINK
Hi,
It seems work in my machine. In order to resolve your issue, could you post all corresponding codes?
Thank you for your support!
Feedback to us
Develop and promote your apps in Windows Store