Permalink
Cannot retrieve contributors at this time
Fetching contributors…
| AddAltToImg = function (imageTagAndImageID, imageContext) { | |
| ///<signature> | |
| ///<summary> Adds an alt tab to the image | |
| // </summary> | |
| //<param name="imgElement" type="String">The image selector.</param> | |
| //<param name="ContextForImage" type="String">The image context.</param> | |
| ///</signature> | |
| var imageElement = $(imageTagAndImageID, imageContext); | |
| imageElement.attr('alt', imageElement.attr('id').replace(/ID/, '')); | |
| } |