package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
  • deprecated Will be removed past 2019-01-01. Use Js_of_ocaml.Form instead.

This module provides functions to manipulate forms.

class type formData = object ... end
type form_contents = [
  1. | `Fields of (string * form_elt) list Pervasives.ref
  2. | `FormData of formData Js_of_ocaml.Js.t
]
val append : form_contents -> (string * form_elt) -> unit
val get_form_contents : Js_of_ocaml.Dom_html.formElement Js_of_ocaml.Js.t -> (string * string) list
val empty_form_contents : unit -> form_contents
val form_elements : ?get:bool -> Js_of_ocaml.Dom_html.formElement Js_of_ocaml.Js.t -> (string * form_elt) list
OCaml

Innovation. Community. Security.