473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

jQuery .editable error

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?

Expand|Select|Wrap|Line Numbers
  1.             jQuery('#name').editable(function(value, settings) {
  2.                     jQuery('[name=<portlet:namespace />name]').val(value);
  3.                     return(value);
  4.                         },
  5.                 {
  6.              type    : 'textarea',
  7.              submit  : 'Update',
  8.              cssclass: 'formEdit'
  9.                 });
  10.  
  11.              jQuery('#description').editable(function(value, settings) {
  12.                     jQuery('[name=<portlet:namespace />description]').val(value);
  13.                     return(value);
  14.                         },
  15.                 {
  16.              type    : 'textarea',
  17.              height  : '80px',
  18.              submit  : 'Update',
  19.              cssclass: 'formEdit'
  20.                 });
  21.  
Thanks and Regards,
Yan Paing
May 13 '10 #1
4 3384
acoder
16,027 Expert Mod 8TB
Which editable plugin are you using?
May 15 '10 #2
@acoder
Hi acoder,
I am using jquery.jeditable.js.
Thanks,
Yan Paing
May 16 '10 #3
acoder
16,027 Expert Mod 8TB
A link would've helped so we know we're talking about the same one. Do you mean this one?
May 16 '10 #4
Tahnks acoder
May 16 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: mikeh3275 | last post by:
I'm new to developing in jQuery, so I'm probably doing this wrong. I'm loading a form into a modal dialog box and I'm trying to assign a click event to the button in the form, but I can't seem to...
83
by: liketofindoutwhy | last post by:
I am learning more and more Prototype and Script.aculo.us and got the Bungee book... and wonder if I should get some books on jQuery (jQuery in Action, and Learning jQuery) and start learning about...
1
by: somnamblst | last post by:
This function swaps images between a close & replay GIF. Line 12 has a speed of 1 second specified for the slideDown, but no speed specified for the slideUp so it is defaulting to normal. I tried...
20
by: Aaron Gray | last post by:
There does not seem too be anyway to test if two jQuery references are the same element. Given :- ... <div id="1"></div .... Then :- alert( $("#1") == $("#1"))
2
by: thj | last post by:
Hi. I've got this form that I'm trying to validate: <form id="periodForm" action="" method="post"> <p> Periode: <input id="startDate" name="startDate" type="text" size="7" value="<%=...
26
by: RobG | last post by:
Do some of the regulars here need to re-think their (sometimes strident) opposition to libraries? Both Microsoft and Nokia have announced support for jQuery. It seems to have gained quite a bit...
53
by: souporpower | last post by:
Hello All I am trying to activate a link using Jquery. Here is my code; <html> <head> <script type="text/javascript" src="../../resources/js/ jquery-1.2.6.js"</script> <script...
3
pradeepjain
by: pradeepjain | last post by:
hii.. i use cope like this <td><a href='/login.php' id="view-user" >Pradeep</a></td> and defauly jquery dialog code <script type="text/javascript"> $(function() {...
5
by: koyanpaing | last post by:
I would like to know how to solve VALIDATOR IS UNDEFINED error using jquery.validate.js. firebug say the error in line 276 function delegate(event) { 274 var validator = $.data(this.form, 275...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.