Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-25-2009, 08:39 PM   PM User | #1
yumiu
New to the CF scene

 
Join Date: Oct 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
yumiu is an unknown quantity at this point
Scriptaculous in place editor cancel

Hi,

I am playing with Ajax.InPlaceEditor
I hide some elements in editMode:function(id){
$('some-element').hide()
......
}
So when I click on edit, 'some-element' is hidden.
But when I click on 'cancel', I want to show the 'some-element'.

How can I do this?
Thanks in advance!

yumiu
yumiu is offline   Reply With Quote
Old 10-26-2009, 03:20 PM   PM User | #2
ohgod
Regular Coder

 
ohgod's Avatar
 
Join Date: Jun 2008
Location: Ohio
Posts: 579
Thanks: 6
Thanked 69 Times in 69 Posts
ohgod is on a distinguished road
are you making these edits in the scriptaculous controls.js?

and by
Quote:
I hide some elements in editMode:function(id){
$('some-element').hide()
......
}
do you mean "enterEditMode", or what are you putting that?
ohgod is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:09 AM.


Advertisement
Log in to turn off these ads.