I want to pass the label value to jquery on button click but i was unable to get Label id and this value in jquery.
please help me.
Thanks
NIELIT (DOEACC) "B" LEVEL
Software Engineer
Blog : http://espydotnet.com
A good programmer is someone who looks both side before crossing a one way street.
NIELIT (DOEACC) "B" LEVEL
Software Engineer
Blog : http://espydotnet.com
A good programmer is someone who looks both side before crossing a one way street.
Thanks Metal your solution is solid. and its works fine for me. Thanks alot
NIELIT (DOEACC) "B" LEVEL
Software Engineer
Blog : http://espydotnet.com
A good programmer is someone who looks both side before crossing a one way street.
I able to got the id and label value when i add cssclass in label but problem was.. class name same for all items within reapter and when i get this value like
blogid= $(".myClass").text();
it will concat all the blogid which is present in repeater which occured error on page when i get this id. I thought this is the same Class name on every reapter.
if u think diffrent sujjest me. Thanks
NIELIT (DOEACC) "B" LEVEL
Software Engineer
Blog : http://espydotnet.com
A good programmer is someone who looks both side before crossing a one way street.
Participant
798 Points
403 Posts
Find label value in jquery
Sep 01, 2014 02:36 PM|Ravi kant jha|LINK
I want to pass the label value to jquery on button click but i was unable to get Label id and this value in jquery.
please help me.
Thanks
Software Engineer
Blog : http://espydotnet.com
A good programmer is someone who looks both side before crossing a one way street.
All-Star
101929 Points
20708 Posts
Moderator
Re: Find label value in jquery
Sep 01, 2014 02:47 PM|MetalAsp.Net|LINK
Member
359 Points
96 Posts
Re: Find label value in jquery
Sep 01, 2014 02:59 PM|arahaman.ashik|LINK
Hi, it may be easy to get the label value, if you define a class of the label
Participant
798 Points
403 Posts
Re: Find label value in jquery
Sep 01, 2014 03:05 PM|Ravi kant jha|LINK
The server tag is not well formed error
Software Engineer
Blog : http://espydotnet.com
A good programmer is someone who looks both side before crossing a one way street.
All-Star
101929 Points
20708 Posts
Moderator
Re: Find label value in jquery
Sep 01, 2014 03:29 PM|MetalAsp.Net|LINK
Participant
798 Points
403 Posts
Re: Find label value in jquery
Sep 01, 2014 03:36 PM|Ravi kant jha|LINK
Thanks Metal your solution is solid. and its works fine for me. Thanks alot
Software Engineer
Blog : http://espydotnet.com
A good programmer is someone who looks both side before crossing a one way street.
Participant
798 Points
403 Posts
Re: Find label value in jquery
Sep 01, 2014 03:40 PM|Ravi kant jha|LINK
Thanks Arahaman for fast reply.
I able to got the id and label value when i add cssclass in label but problem was.. class name same for all items within reapter and when i get this value like
blogid= $(".myClass").text();
it will concat all the blogid which is present in repeater which occured error on page when i get this id. I thought this is the same Class name on every reapter.
if u think diffrent sujjest me. Thanks
Software Engineer
Blog : http://espydotnet.com
A good programmer is someone who looks both side before crossing a one way street.