Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3189

Re: binding of text field vs setvalue of text field from model

$
0
0

HI Amber

 

Among other things, the main advantage is to simplify code development and maintenance. Once the controls are bind to the property in the model, we no longer need to hunt down the control by its ID and setValue or reset Value.

 

JS Bin - Collaborative JavaScript Debugging

 

This is new sample, we can use binding to control the visibility of icon and have one than one control having the same values.

When we reset the value in the model, all the corresponding values in the controls changes all together.

 

Thanks

-D


Viewing all articles
Browse latest Browse all 3189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>