How To Change The Value Of Multiple Html Attribute?
i want to change this html element. cancel upload to Copy
Let me know if you need anything else..
Solution 2:
$('.fileupload_cancel').attr('title','remove all').text('remove all');
Solution 3:
$('a.btn.small.fileupload_cancel').attr('title', 'remove all').text('remove all');
Demo: http://jsfiddle.net/gPtMG/
Solution 4:
$('a[title="cancel upload"]').html('remove all').attr('title','remove all');
See here: jsfiddle
Solution 5:
You can use jQuery .html() and .attr() functions here:
$('.classname').html($(this).attr('title'));
This will set the innerHTML of the selected object to the string in the title attribute.
Post a Comment for "How To Change The Value Of Multiple Html Attribute?"