wilded
10/9/2017 - 5:52 PM

Replacing attributes of html elements.

Replacing attributes of html elements. In this example we can replace the tooltip information of a bootstrap tooltip.

$("#tooltip_ryyproSalePrice").attr("data-original-title", "$proSaleNetPriceDesc");
$("#elementID").attr("placeholder", "NewPlaceholder");