How do I change image src that contain Parent tags using jquery?
Can you please tell how to retrieve the same using c#?
C# code:
string s;
s= "<span id=\"span1\"><table><tr><td><img src=\"/image/img01.jpg\"></td></tr>";
I have formatted above code to string and assigned to one label
label1.text=s.tostring();
Now i want to change the img src using jquery.
I’m new to jquery please any one help me to solve this.
* Note: i dont want to use id attribute for img tag.
There is two simple option, firstly use the code which given by “andy”
or