Maybe someone here can help me. I'm trying to use some jquery to do a work around for ckeditor/cf bind issues.
my form:
<cfinput
name
=
"validate"
class
=
"temp"
type
=
"text"
bind
=
"cfc:model.myfucntion({selectvalue})"
>
and I have a select with an onchange event executing my jQuery.
in the jQuery function:
If I do console.log($('.temp')); I get the object
example:
- 0: input#validate.temp
..blah
..blah
value
:
"the value that I want" <--- I want to get this so I can update the ckeditor with it.
but then I do:
console.log($('.temp').val()); and I get undefined.
if I do:
$('.temp').val('test');
and then do console.log($('.temp')); I get test.
Any ideas?
Thanks