Jun 10, 2012 3:24 PM
68 Posts

Re: Full update using command - Server Side

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.3
  • Role: Developer,Administrator
  • Tags:
  • Replies: 11
Any of this scripts don't work ... maybe I'm doing somethign wrong but this is strange its simple code ...
 
Take a look:
    <xp:button value="Label" id="button1">
    <xp:eventHandler event="onclick" submit="false">
        <xp:this.script>
            <xp:executeClientScript>
                <xp:this.script><![CDATA[var iloscID = "checkBox1";
dojo.query('input[name='+iloscID+']').disabled = true;
]]></xp:this.script>
            </xp:executeClientScript>
        </xp:this.script></xp:eventHandler></xp:button>
    <xp:checkBox text="Label" id="checkBox1"></xp:checkBox></xp:view>