Displaying 1 result from an estimated 1 matches for "clearinput".
2007 Oct 03
4
form_remote_tag :onsubmit not working.
...Here''s my piece of code.
<script>
function set_tojid(){
alert(''onsubmit'');
}
</script>
<%= form_remote_tag :update => '''', :url => { :action => ''''}, :onsubmit
=> "set_tojid()", :after => "clearinput()" %>
<%= text_field_tag :newmessage, nil, {:style => "width:
100%", :maxlength => "1000",:autocomplete => "off"} %>
<%= hidden_field_tag :send_to, value = '''' %>
<%= end_form_tag %>
Anything buggy here??
TIA
~Shish...