bleykFaust bleykFaust - 1 year ago 77
AngularJS Question

Show another Div when I clicked the button on the Previous Div

I have two in my html file. The first contains a button that when I click should show the other div and would hide the first one My code is something like this:

<div class="container" ng-hide="showme">
<button class="button" ng-click="showme=true" >Edit</button>
<div class="container" ng-show="showme">

How can I possibly do that? Thaks for any help. It is greatly appreciated.

Answer Source

It's easier with jquery just write


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download