- Where Developers Learn, Share, & Build Careers


I'm going to update a section of html after a click event. But I do not want to render the whole page again ... my code looks like this;

  & lt; Div & gt; I do not want to re-render the other page's contents / lieutenant; / Div & gt; & Lt; Div & gt; & Lt; Span id = "update thisSection" & gt; {{Data}} & lt; / Span & gt; & Lt; Div & gt;   

I want to update the data within that period after a click event

  linkClicked: function (e) {// at the end of the update Update the data}    

You can always use it completely through the element or You can adjust just the parts you need:

  this. $ ('# UpdateThisSection') Html ('some new stuff.');   

If you have a simple & lt; Span & gt; , you want to add a separate subsection for that part of that scene, you will tie the sub-view of the render to the appropriate change event.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -