Forums

This topic is locked

Button

Posted 03 Feb 2005 18:56:56
1
has voted
03 Feb 2005 18:56:56 Ciro Elgueta posted:
I need to put a button outside the form that performs an action described in a servlet, the action in this case is "save",

I have been using the following script, but it does not work....
Could you give me some ideas?

document.writeln('<input type="submit" name="action__save" value="Teleminder"></form>')
else document.writeln('</form><input type="submit" name="action__save" value="Teleminder">')

Replies

Replied 04 Feb 2005 14:53:25
04 Feb 2005 14:53:25 Lee Diggins replied:
Hi Ciro

Not sure what's wrong here, maybe your IF statement is failing, but then your ELSE should kick in, semi-colon ';' missing.

Post more code Ciro if you can't fix it.

Lee Diggins - DMXzone Manager

Sharing Knowledge Saves Valuable Time!!!

Reply to this topic