Note that there are some explanatory texts on larger screens.

plurals
  1. POchanging innerhtml but page does not display new innerhtml
    primarykey
    data
    text
    <p>In an application that I am working on, on page load, I set innerhtml and the page displays correctly. I have a radio button on my page that when hit, the innerhtml is changed. The new change to the innerhtml does not display on the page.I know that my new innerhtml is being changed due to setting tracepoints and debugging but the old values still stay in my table. is there something i need to call to refresh with the new html (i do not want the page to refresh, but the data in my table)? Page load calls LoadDashboardTree - and the table displays correctly. The javascript action of my radio buttons call the correct sub depending on the value of the radio button selected, I can tell that when I hit the radio button to call loadDashboardTreeDays that it is calling this because I have set tracepoints in this and it does go through, just the table never refreshes. divsummary inner html does not refresh either but it is not needed as both days and non days do the same thing, so it still is displaying correctly and picking up the onclick</p> <pre><code> Public Sub LoadDashboardTree(ByVal Id, ByVal Cat, ByVal Type, ByVal ExplodeTo) div027.InnerHtml = LoadChild(Id, Cat, Type, ExplodeTo) divSummary.InnerHtml = LoadSummary(Id, Cat, Type) End Sub Public Sub LoadDashboardTreeDays(ByVal Id, ByVal Cat, ByVal Type, ByVal ExplodeTo) div027.InnerHtml = LoadChildDays(Id, Cat, Type, ExplodeTo) divSummary.InnerHtml = LoadSummaryDays(Id, Cat, Type) End Sub </code></pre> <p>edit- this is the call to change the innerHTML from my aspx.vb page - not the actual javascript portion of the page, for those who could not tell</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload