Bug Tracker

Modify

Ticket #69 (closed bug: fixed)

Opened 8 years ago

Last modified 7 years ago

Replacement :input, :radio, etc.

Reported by: john Owned by:
Priority: minor Milestone:
Component: core Version:
Keywords: Cc:
Blocking: Blocked by:

Description

There should be a feature to replace the removed "input" hack, something like: :input (input, select, textarea) :button :radio :checkbox :submit :text :password etc.

Change History

comment:1 Changed 8 years ago by Enchos@…

AFAIK this requires only some additions to the jQuery.g:? object, something like this:

input: "...",

text: "...",

password: "...",

checkbox: "...",

radio: "...",

submit: "...",

image: "...",

reset: "...",

button: "...",

hidden: "...",

file: "..."

These are all control types according to  http://www.w3.org/TR/html4/interact/forms.html#h-17.4.1

If you provide one sample implementation, I could add the rest :-)

comment:2 Changed 8 years ago by joern

  • Status changed from new to closed
  • Resolution set to fixed

Added to SVN.

comment:3 Changed 8 years ago by joern

  • Status changed from closed to reopened
  • Type changed from feature to bug
  • Resolution fixed deleted

:input should also select button elements

comment:4 Changed 8 years ago by joern

  • Status changed from reopened to closed
  • Resolution set to fixed

Fixed in SVN.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.