in partnership with mediatemple

Ticket #484 (new enhancement)

Opened 8 months ago

Last modified 2 days ago

Special element methods should only be implemented on appropriate elements...

Reported by: tomocchino Owned by: tomocchino
Type: enhancement Priority: minor
Milestone: Mootools version 1.3 Component: Core
Keywords: Cc:

Description

For instance... when executing the following code

$('myDiv').getValue();

i should recieve an error that getValue is not defined...

Likewise, when doing

$('myDiv').send();

I should recieve a similar error.

On the other hand,

$('myForm').send();

should work as intended.

Other elements / properties that should be taken into account are send (for form elements), toQueryString(for form elements and input/textarea/selects), removeOption (for selects), etc.

Change History

Changed 4 months ago by kamicane

  • owner set to tomocchino
  • type changed from defect to enhancement
  • component set to Core

Changed 2 days ago by tomocchino

  • milestone set to Mootools version 1.3
Note: See TracTickets for help on using tickets.