[blind-prog] set onclick of a button via javascript
- From: paniz alipour <alipourpaniz@xxxxxxxxx>
- To: blind-prog@xxxxxxxxxxxxx, Mehrnoosh <bakhshmehr@xxxxxxxxx>, blind-programming@xxxxxxxxxxxxx, blindprogramming@xxxxxxxxxxxxx, blind-it@xxxxxxxxxxxxx
- Date: Wed, 7 Dec 2011 16:58:11 +0330
Hello All,
I want to change onclick value of a button via javascript dynamically,
i.e,<input type="button" onclick="doswitch()"/>
change it into this one:
<input type="button" onclick="doswitch1()"/>
I did it but it just run doswitch()!!!
How?please guide me.
--
Paniz Alipour
Other related posts:
- » [blind-prog] set onclick of a button via javascript - paniz alipour