Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1030846 // hInlineSearchForm

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3170L/18K).

sS hInlineSearchForm(S queryField default "q", S query, S action) {
  ret hform(hinputfield(queryField, query, style := "width: 75px")
    + " " + hsubmit("Search"), style := "display: inline", +action);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030846
Snippet name: hInlineSearchForm
Eternal ID of this version: #1030846/1
Text MD5: 249ca7ded0e3505e5cd03148db647b76
Transpilation MD5: eaf73f034a6d9186ec39f8faed1bcfdc
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-02 16:56:19
Source code size: 210 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 173 / 244
Referenced in: [show references]