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

