Hello everyone,
I have a java script problem with
"jQuery("#name" ).editable is not a function".
i open Firebug console and it shows this error.
i already include jquery file also.
what wrong on my code?
Thanks and Regards,
Yan Paing
I have a java script problem with
"jQuery("#name" ).editable is not a function".
i open Firebug console and it shows this error.
i already include jquery file also.
what wrong on my code?
Code:
jQuery('#name').editable(function(value, settings) {
jQuery('[name=<portlet:namespace />name]').val(value);
return(value);
},
{
type : 'textarea',
submit : 'Update',
cssclass: 'formEdit'
});
jQuery('#description').editable(function(value, settings) {
jQuery('[name=<portlet:namespace />description]').val(value);
return(value);
},
{
type : 'textarea',
height : '80px',
submit : 'Update',
cssclass: 'formEdit'
});
Yan Paing
Comment