51
rated 0 times
[
53]
[
2]
/ answers: 1 / hits: 77309
/ 12 Years ago, wed, august 29, 2012, 12:00:00
Here is html code snippet
<li style=opacity: 1;>
<a id=LinkDisplay class=optionsDropDown style=color:#FF0000;display:none href=javascript:showThisLink('LinkId');>
</li>
Here is jquery function which is being called at on load
$(function () {
$.ajax({
url: url,
dataType: 'json',
data: '',
type: 'POST',
success: function (data) {
alert(Test);
document.getElementById(LinkDisplay).style.diplay=block; // line 1
// after this line execution i should see the link as i have
// changed the link display from none to block but it is still invisible
});
});
}
After line 1 execution , I am not sure why my link is not becoming visible?
More From » html