1
Katmando
need onclick in XoopsFormButton
  • 2004/2/18 14:58

  • Katmando

  • Just popping in

  • Posts: 10

  • Since: 2003/1/4 1


What would be the best way to get the XoopsFormButton to have an OnClick feature.

I need my button to look like this:
<INPUT type=button value=" ADD-> "OnClick="MoveItem(available,cart);">

Thank you

2
Mithrandir
Re: need onclick in XoopsFormButton

Try this:
$submit_button->setExtra('OnClick="MoveItem(available,cart);"');

Hope it works

3
Katmando
Re: need onclick in XoopsFormButton
  • 2004/2/19 13:18

  • Katmando

  • Just popping in

  • Posts: 10

  • Since: 2003/1/4 1


It did work.

Thank you!!

Login

Who's Online

226 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 226


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits