I have used webiopi to connect to my remote control car over wifi, at the minute I have the website setup with a turn right and turn left button( these only require one gpio to be turned on) as can be seen below. However when I try to make a forward button which requires 2 gpio pins to be turned on it will always ignore the second gpio, I have spent hours trying varies methods and there unfortunately isn't much info on it. Any help would be appreciated.
webiopi().ready(function() {
webiopi().setFunction(14,"out");
var content, buttonright;
content = $("#content");
buttonright = webiopi().createGPIOButton(14,"Right");
content.append(buttonright);
webiopi().setFunction(23,"out");
var content, buttonleft;
content = $("#content");
buttonleft = webiopi().createGPIOButton(23,"Left");
content.append(buttonleft);
webiopi().setFunction(18,"out");
webiopi().setFunction(14,"out");
var content, buttonforward;
content = $("#content");
buttonforward = webiopi().createGPIOButton(18,14,"forward");
content.append(buttonforward);
});