•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 373,106 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,644 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 673 | Replies: 2 | Solved
![]() |
i am using scriptaculous.js and prototype.js
my ajax is returning following tags (text)
and while calling the ajax it has
my showResponse function goes like this
i have included all the required js files and everythings goes fine (program flow)
But the problem is:
the p tag with id tobeedited4 is not visible from showResponse function ...
pliz help me to solve this issue.
I just want InPlaceCollectionEditor to apply on the tags after ajax call
Is there a way to solve this ???? is this possible ????
my ajax is returning following tags (text)
<p id="tobeedited4">one</p> (should manually select "two")
and while calling the ajax it has
new Ajax.Updater('contact_div_edit',"./doit.php", {asynchronous:true, parameters:poststr,onComplete: showResponse, evalScripts:true});
onComplete: showResponsemy showResponse function goes like this
function showResponse()
{
new Ajax.InPlaceCollectionEditor(
'tobeedited4', '_ajax_inplaceeditor_result.html', {
collection: ['one','two','three'],
value: 'two',
ajaxOptions: {method: 'get'} //override so we can use a static for the result
});
}i have included all the required js files and everythings goes fine (program flow)
But the problem is:
the p tag with id tobeedited4 is not visible from showResponse function ...
pliz help me to solve this issue.
I just want InPlaceCollectionEditor to apply on the tags after ajax call
Is there a way to solve this ???? is this possible ????
Hunters Never Hurt
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
- Unresponsive script (DaniWeb Community Feedback)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Dynamic Menu Remote Read Error - Javascript
- Next Thread: ParseQueryString in href function?


Linear Mode