Label In Jquery
Many times we use get get the value of label :- $("#lblId").val();
But It doesn't work .
So best Solution is
To Set the value in Label :- $("#lblId").innerHtml("your string");
To get the value use : $("#lblId").text();
Many times we use get get the value of label :- $("#lblId").val();
But It doesn't work .
So best Solution is
To Set the value in Label :- $("#lblId").innerHtml("your string");
To get the value use : $("#lblId").text();
No comments:
Post a Comment
Thanks for your valuable comments