similar to: Populating form elements with AJAX

Displaying 20 results from an estimated 4000 matches similar to: "Populating form elements with AJAX"

2006 Jun 27
5
Ajax - Inserting selected elements from request.responseText
After retrieving a URL using an Ajax.Request... function onComplete (request, json) { // request.responseText holds the entire page Only the content contained in elementID = ''source'' is intended for display At this time, the following code works, but it disturbingly copies the entire page from the source URL into the target DIV $(''target'').innerHTML =
2008 Jul 01
5
Attaching event observers to a series of elements - best practice?
Hi all, New member here. I''ve been working with Prototype for a while, and I love it. However, there''s one thing I still can''t figure out. Let''s say I have an array of objects, representing contacts in an address book: var contacts = [ { id: 1, firstName: "Bob", lastName: "Smith" }, { id: 2, firstName: "Sue", lastName:
2003 Jun 16
3
crash on LIST command
Hello, I'm experiencing a reproducable crash in the imap daemon of dovecot 0.99.9.1 when running the next commands (sniffed from a sylpheed session): [cocaine:~] telnet ice 143 Trying 192.168.196.1... Connected to ice. Escape character is '^]'. * OK dovecot ready. 1 NOOP 1 OK NOOP completed. 2 LOGIN wouter password 2 OK Logged in. 3 NAMESPACE 3 BAD Error in IMAP command: Unknown
2007 Apr 13
2
inplace editor and textarea
Hi, I have an inplace editor and I can access the innerHTML value of the created form. However the innerHTML gives "<textarea>....</textarea> ..." How can I access the textarea value? I tried to do innerHTML.textarea.value but it didn''t work. Any ideas will be appreciated. Thanks, Joe -- Posted via http://www.ruby-forum.com/.
2001 Dec 10
1
Font problem with delphi application
Hi all, I am having a problem with a small Delphi address database application. When attempting to display the address details from one of a list of addresses, an empty text area is displayed instead of a text area containing address details. Screenshots of the app in windows and wine can be found here: http://www.blub.net/~wouter/wine/windows.png http://www.blub.net/~wouter/wine/wine.png The
2006 Apr 12
11
innerHTML and scripts not running
Hello, I''m having an issue with getting embedded javascript code to actually run when loaded via an Ajax.Request() call and the callback function inserts the generated HTML and js code to my current page. It seems that the javascript code is not properly parsing. For example, I''m using the following function showinfo() to return some html code. function showInfo(go_url){
2004 Jul 12
1
dovecot-1.0-test27 crash on FETCH
Hello, I've got a crash with -test27 on a FETCH, just after logging in. Attached are the mailbox (1 message only), logs, sniffed session, testcase and core dump backtrace. If the dovecot.conf is needed, just ask (it's pretty much the default configuration). Maybe this has just been fixed in -test28, in which case you can just delete this email. :) Btw, it's rather irrelevant, but
2005 Dec 28
1
Problem with IE
Hi there, let me introduce myself, i am a web developer from venezuela, my english is not the best, sorry by that... i am developing a form builder, is simple, just dragging form elements to a droppable container, all works well but im showing to my friends and... surprise!!! doesn''t work in Internet Exploiter, i am a linux user with firefox, im looking in internet how fix it but i dont
2006 Mar 13
3
problem updating mulitple divs with ajax
i''m having some issues updating multiple divs via ajax. perhaps someone can lend some assistance. i''ve got 2 divs: user_list and user_form. when a person clicks the "edit this user" or "add new user" link the user_form div is updated via an ajax call and the form is shown in the user_form div. this form is a remote form. it submits to either the update
2008 May 05
1
get element by property
I''m fairly new to Prototype and I was wondering if anyone can help me out here. i need to search the document for elements with a specific innerHTML. I have the innerHTML string already, but i dont know how to find the elements with that property. thanks, andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google
2005 Sep 27
8
prototype.js
Hi *, We don''t know if you guys are the right audience, but we got a problem with prototype.js we need to solve. Essentially, it is a compatibility bug with the IE. We wrote a component so it updates itself periodically using AJAX. we used the prototype.js to accomplish this (using the periodicalUpdater object). now the component works fine using firefox or opera, but NOT with IE. the
2007 Jul 10
6
Having trouble using data returned by Ajax.request
Hello everyone, I''m new here. I''ve been working with prototype and plotr for about a month now, off and on, and I have pretty much hit the wall on using the data returned by Ajax.Request. I''m using some php code to return a string: {''foo'': [[0,0.0865334429075127], [1,0.0828179861705063], [2,0.0828173042602942], [3,0.0841707718624196]]} But I keep
2006 Jun 16
2
Javascript error?
Hi, I''m trying to get this progress bar plugin working, but I''m having some trouble. I''m running Apache 2.0.52 with mod_fcgid on Mac OS X. Everything seems to be working fine, but the progress bar simply doesn''t work. In my log I get: Multipart upload with progress (id: 1, size: 176731770) Finished processing multipart upload in 18.96244s but no requests in
2006 Mar 06
3
break a vector into classes
Hi, I'm looking for a function which divides a vector into n classes and returns the breaks as well as the number of values in each class. This is actually what hist(vector, breaks=n) does, but in hist() n is a suggestion only, and is a suggestion only and cannot be enforced (as far as I know...) It is not so difficult to do it yourself, but a ready made function would be nice...
2007 Jun 07
4
Effect.Fade and innerHTML?
Hi there, I''m now having an odd problem with Effect.Fade not working based on the innerHTML of a div. Take the following for example... <div id="blah"> Nothing here yet. </div> If I then update "blah", hide it and then fade it in, like so: <script type="text/javascript"> document.getElementById("blah").innerHTML =
2010 Mar 16
4
Get content from HTML element in Rails
Hey, I''m looking for a way to get the content of my div in my Rails view. I would like the literal HTML content, so only HTML and no Rails I thought inner_html would work, but I get a RJS exception (TypeError: $("content").innerHtml is not a function) Does anyone know how I can get the content? Thanks! In my controller I use this code: [code] def save_test render :update
2005 Mar 25
4
ajax and clearing the form
Hi I played a little bit with rails+ajax, works fine... but how do I reset the form? I tried: --- <%= form_remote_tag(:html => {:name => ''form_update''}, :url => :url_new_item_with_ajax, :update => ''container'', :loading => "Toggle.display(''new-item''); $(''new-item-desc'').innerHTML =
2006 Jan 19
1
Populating a select field using observe_field
Hi, I''ve just started toying with Rails and AJAX, so forgive me if this is a bit of a stupid question. I''m trying to populate a select field when the value of another select field is changed. Looking through the API doc, it seems like observe_field is what I need. In my view I have: <p><label for="wine_country_id">Country</label><br/>
2009 Aug 13
3
Upgrade question from 1.1 to 1.2
Good afternoon, I am considering to upgrade from Dovecot 1.1.18 to 1.2.x and was reading your Wiki regarding any changes and found: "If you were using e.g. mail_location = maildir:/var/mail/%h, just change it to mail_location = maildir:%h and add /var/mail/ prefix to home dirs." I am currently using: "mail_location = maildir:~/Maildir" in combination with vpopmail. Does
2006 Mar 22
1
Ajax.Updater dropping first <OPTION> on IE?
I am attempting to use Ajax.Updater to update the innerHTML of a SELECT - that is, to feed it a list of <option>..</option> sets generated from a partial. It works as expected on FF1.5, but in IE6 it renders as an empty select. When I use the DOM viewer (or an alert()) to dump the value of innerHTML, it appears intact EXCEPT that the first <option> is missing with no