On Feb 11, 2009, at 7:13 PM, Brian Loomis wrote:
Unfortunately I am not able to get the checkbox to select without
first selecting the containing element (which has the appearance of
having to get the checkbox a double click to check it) However -
the checkbox unselects with only one click. I do not have to click
the containing element to get this behavior.
I would like to get the checkbox to select with one click - before
my designer whomps me with the usability paddle and makes me do a
tear out and use standard forms.
Sorry but I do not understand your explanation what you are trying to
do.
Do you want the checkbox to be automatically checked when you click
editable element and the checkbox appears? You could try adding this
to you custom input code:
-cut-
plugin : function(settings, original) {
$("input", this).attr("checked", true);
},
-cut-
You need to set checked in plugin method instead of element because
browsers are a bit touchy when value of input is set.
--
Mika Tuupola
http://www.appelsiini.net/