Hi folks,
I have a problem with data bindings in my project.
Actually I have a lot of forms that are rendered on server side (are not generated by can.view and underlying rendering engine).
I couldn't find any way of attaching the data binding behavior to the existing form without "can-value" attribute.
The Example:<form>
<inpu type="text"
can-value="someString" />
</form>
var fromControl = can.Contro.extendl({
init: {
this.someString = "test sctring"
}
});
new fromControl("from", {});
As you may expect this doesn't work, any others solutions guys?
Please help!