IjumpOverU
Technical User
While I am quite sure this stupidly simple (and I think I dealt with it before) my brain is currentlt fried so I am asking for assistance.
On my html/js page I have a simple <span> tag which during actions on the page (no reload or refresh) gets a text value...
From - <span id="eleText" style="text-decoration:underline; cursorointer"></span>
To - <span id="eleText" style="text-decoration:underline; cursorointer">Status:Complete</span>
Yet when I try to retrieve this "Status:Complete" value in script I get an empty string. I know that the value is there I can see it on the page and when debugging the html structure. Javascript (and JQuery) do not see it.
var curTags = $('#eleText').text();
On my html/js page I have a simple <span> tag which during actions on the page (no reload or refresh) gets a text value...
From - <span id="eleText" style="text-decoration:underline; cursorointer"></span>
To - <span id="eleText" style="text-decoration:underline; cursorointer">Status:Complete</span>
Yet when I try to retrieve this "Status:Complete" value in script I get an empty string. I know that the value is there I can see it on the page and when debugging the html structure. Javascript (and JQuery) do not see it.
var curTags = $('#eleText').text();