Click here to Skip to main content
15,882,163 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
Hi Guys


I am trying to set value of this label below using jquery but am not winning
XML
<label  ID="lblAssetName"  name=<lLlAssetName"></label>


This my jquery side:
Java
$('#lblAssetName').text(data);
Posted
Updated 6-Jan-20 2:30am

 
Share this answer
 
v3
Comments
Anele Ngqandu 4-Nov-13 3:22am    
3rd link worked for me, thank you
ridoy 4-Nov-13 3:25am    
Welcome,glad to help you.
$("#label_id").html('value');
 
Share this answer
 

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