For the form based applications I like Dojo Toolkit, especially declarative mode. See the Checkbox widget here: http://www.dojotoolkit.org/reference-guide/dijit/form/ToggleButton.html#dijit-form-togglebutton
David On 19 čvn, 11:25, AsmanCom <[email protected]> wrote: > I don´t think so, but I need to receive the Value contained in the > Button. > > Checkbox would be the Solution, but it must look like a Button. > > Any Ideas? > > THX > > Dieter Asman > > On 19 Jun., 02:30, Richard <[email protected]> wrote: > > > > > can buttons post form data? > > > Are you perhaps after a checkbox instead? > > > On Jun 19, 3:11 am, AsmanCom <[email protected]> wrote: > > > > Hi, > > > > I need to retrieve the request.vars from an JavaScript Object. > > > > controller code: > > > > form.append(INPUT( _id="buttonid", _type="button", _class="my_button", > > > _name="buttonName", _value="Off")) > > > > and then i want to get the value from this, like so: > > > > if request.vars.buttonName == "Off": > > > do anything > > > > But it doesn´t work. > > > > Could you explain how to achieve this? > > > > TXH > > > > Dieter Asman

