Mercurial > urweb
comparison lib/ur/basis.urs @ 2163:598a5f781d39
Add onChange handler to radioOption
author | Julian Squires <julian@cipht.net> |
---|---|
date | Thu, 07 May 2015 16:12:06 -0400 |
parents | 9c8016d99969 |
children | 14c45a0b6362 |
comparison
equal
deleted
inserted
replaced
2162:c39c48696393 | 2163:598a5f781d39 |
---|---|
1009 val fieldValue : postField -> string | 1009 val fieldValue : postField -> string |
1010 val remainingFields : postField -> string | 1010 val remainingFields : postField -> string |
1011 | 1011 |
1012 con radio = [Body, Radio] | 1012 con radio = [Body, Radio] |
1013 val radio : formTag (option string) radio [Data = data_attr, Id = id] | 1013 val radio : formTag (option string) radio [Data = data_attr, Id = id] |
1014 val radioOption : unit -> tag ([Value = string, Checked = bool] ++ boxAttrs) radio [] [] [] | 1014 val radioOption : unit -> tag ([Value = string, Checked = bool, Onchange = transaction unit] ++ boxAttrs) radio [] [] [] |
1015 | 1015 |
1016 con select = [Select] | 1016 con select = [Select] |
1017 val select : formTag string select ([Onchange = transaction unit] ++ boxAttrs) | 1017 val select : formTag string select ([Onchange = transaction unit] ++ boxAttrs) |
1018 val option : unit -> tag [Data = data_attr, Value = string, Selected = bool] select [] [] [] | 1018 val option : unit -> tag [Data = data_attr, Value = string, Selected = bool] select [] [] [] |
1019 | 1019 |