Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Form button not function on nightly build 2015-08-14

$
0
0
With following code, I found the first three buttons are not function. What's wrong. Thanks!
Code:

<html>
<head>
    <title></title> 
    <SCRIPT>var isomorphicDir = "../../isomorphic/"; var isc_useDefaultViewport = false;</SCRIPT>
    <SCRIPT SRC="../../isomorphic/system/modules/ISC_Core.js?isc_version=v10.0p_2015-08-14.js"></SCRIPT>
    <SCRIPT SRC="../../isomorphic/system/modules/ISC_Foundation.js?isc_version=v10.0p_2015-08-14.js"></SCRIPT>
    <SCRIPT SRC="../../isomorphic/system/modules/ISC_Containers.js?isc_version=v10.0p_2015-08-14.js"></SCRIPT>
    <SCRIPT SRC="../../isomorphic/system/modules/ISC_Grids.js?isc_version=v10.0p_2015-08-14.js"></SCRIPT>
    <SCRIPT SRC="../../isomorphic/system/modules/ISC_Forms.js?isc_version=v10.0p_2015-08-14.js"></SCRIPT>
    <SCRIPT SRC="../../isomorphic/system/modules/ISC_DataBinding.js?isc_version=v10.0p_2015-08-14.js"></SCRIPT>
    <SCRIPT SRC="../../isomorphic/skins/Graphite/load_skin.js?isc_version=v10.0p_2015-08-14.js"></SCRIPT>
</head>
<body id="xxx">
<script type="text/javascript">

 isc.VLayout.create({ ID:"v", width: "100%", height: "100%", members: [], border: "1px solid white", padding: "0px", margin: "10px", membersMargin: 5 });
 isc.DynamicForm.create({
        ID:"f", width: "500", height: 400, itemLayout: "absolute", fields: [
        { top: 58, left: 155, width: 150, name: "btnA", type: "button", title: "a", click: function(){ alert("a");} },
        { top: 58, left: 310, width: 90, name: "btnB", type: "button", title: "b", click: function(){ alert("b");} },
        { top: 58, left: 405, width: 90, name: "btnC", type: "button", title: "c", click: function(){ alert("c");} },
        { top: 58, left: 500, width: 150, name: "btnD", type: "button", title: "d", click: function(){ alert("d");} }
      ]
    });
 
 v.addMembers([f]);

</script>
</body>
</html>


Viewing all articles
Browse latest Browse all 4756

Trending Articles