similar to: Ajax.Update nested within Ajax.Request

Displaying 20 results from an estimated 500 matches similar to: "Ajax.Update nested within Ajax.Request"

2006 May 18
4
Cascaded Forms
Hi guys, it''s me again ;) is it possible to put forms into forms? My problem is, i have a form which gathers informations about an SSL Certificate order. There is a field which holds the SSL CSR file. Now i wanted to put in a subform which has an form_remote_tag and decodes that CSR file and returns if everything was okay or not. Now if i put in a submit_tag it submits my form which
2006 Feb 21
3
HABTM :insert_sql help
Hi all, I''m working with a legacy sqlserver db and I''m trying to override the insert sql in as defined in the HABTM method below(becasue the join has three primary keys), but I''m getting the error: ''undefined local variable or method `record'' for Project:Class'' has_and_belongs_to_many :people, :class => ''Person'',
2010 Jan 22
0
creating a new record in a pop-up-window
hi, i have a Project-Task model association. The Project: SHOW & EDIT list the tasks...now: i want to have a pop-up-window triggered in the edit view. the pop-up-window should show a basic Task-NEW form, BUT with some information about the Project, eg the title of the project. after submitting i want to get the Project -EDIT View to be reloaded. 1) i have the pop-up window:
2005 Dec 13
2
Ajax.Request onComplete
Hello, I have a small class where i want to use attributes of the instance when an ajax call returns, so I wrote: *var* MyClass = Class.create(); MyClass.prototype = { initialize: *function*(form_id, rendered_id) { this.form_id = form_id; *var* edit_form = $(form_id); *var* rendered_node = $(rendered_id); *if* (!edit_form || !rendered_node) { this.enabled = *false*;
2007 Feb 15
2
ajax.request not working in ie7
it sends the request fine in firefox but it never gets sent in ie7 (im using iewatch). here''s my code: var headers = [''Man'', ''POST http://'' + location.host + ''/something HTTP/1.1'',''MessageType'',''CALL'' ]; var myAjax = new Ajax.Request( url, { requestHeaders: headers ,contentType:
2007 Nov 14
1
reading tables from url
I'm trying to read some web tables directly into R. These are both genome sequencing projects (eukaryotes and metagenomes) from NCBI and look very similar; however, only the first one works. http://www.ncbi.nlm.nih.gov/genomes/leuks.cgi http://www.ncbi.nlm.nih.gov/genomes/lenvs.cgi I added ?dump=selected to the end of the url string to get a tab- delimited file (which is what happens
2006 Sep 19
1
Problem using POST with IE 6
Hey guys, hope one of you can help me. I have the following code that works with Firefox but not within IE. The basic premise is that when using a POST to send to my page, IE doesn''t seem to send it and therefore doesn''t fire the database update. GET''s work fine in IE but due to the potential volume of text, a GET is not realistic. In Firefox, GETs and POSTs work as
2007 Mar 13
3
showResponse() Callback not being called in Firefox
Hello All --- I am using the AJAX Object to send form data to a PHP page. In IE, I am able to get a call back thru the showResponse(); However, in Firefox, the callback never gets executed. Here is my code: function showResponse() { alert(''Thank You. Your information has been sent''); } function processForm() { var url = "sendEmail.php"; var name =
2006 Jun 30
0
sync reads or big files problem
Hello, friends! I vahe a problem using prototype1.4 in IE6. I am trying to create bandwidth speed test tool. The idea is to download one by one X times (i.e. 10) one and the same ASCII-file with size = 1MB. I would like to measure time and speed of each run, to display the intermediate results after aech run and finally after all X rund display total results as average of all runs. But when I
2008 Apr 21
1
Ajax.request - SOAPAction
If I build my own XMLHttpRequest, I can do the following: this.xmlHttp.setRequestHeader("SOAPAction", ''updateClient''); How can I do the same with AjaxRequest()? var myAjax = new Ajax.Request( this.service, { method:''post'', postBody:soapXML,
2006 Mar 03
3
xml handling
Hello there, im having a problem with the xml handling, i want to get and xml node and put things in an input text but im a little lost, im using this code, but isn''t work, what am i doing wrong? --------------------- <a href="#" onclick="getXML()">Get XML</a> <input type="text" value="nothing here" id="respuesta" />
2008 Jan 19
1
Set Return Type XML in Prototype
Please help i can''t return xml data using prototype. If i use data from direct xml file then it works fine but when i use ajax request with header content xml it''s not working My code just work on IE but in FF it does not working. My code sample are given below If any one already done this kinds of job Please help me as soon as possible. var xmlDoc; function Claulate() { var
2006 Nov 30
4
response is null when using should_render_rjs
I''m trying to use rspec to test a controller that has ajax. I have the following action: def change_ad_type_form render :update do |page| page.replace_html ''ad_sub_form'', :partial => ''text'' end end and the following spec: specify "should return Text subform on AJAX request to change_ad_type_form" do
2006 Apr 06
4
function onComplete how to overload?
Hi all. I my apps I need to use Ajax.Request Object. One of the object options is onComplete fuction which looks like this: funcion onComplete (originalResponse) { ..some operations } I need pass to function one more parameter, how to do it? is is possible? I can''t use AJAX Updater because result of Ajax Call is uploaded to the div that I defined earlier, and in my situations I
2007 Jan 28
3
always Not Found
hi! I''m migrating to Rails 1.2.1 (from 1.1.6), but now I''m getting a 404 (Not Found) page for every url I call! Not even the error messages I got before are shown on this page anymore. So I took a look into development.log, but there everything is ok, WebRick sends Http 200 OK. The routes.rb I left as the standard: map.connect '':controller/:action/:projectid''
2006 Mar 14
0
Search within an Add page
Newbie with RoR. I have searched the net and looked at the PDF books but without much luck. Here is what I am trying to do: I have a view which adds a new "part" to a list of parts for a supplier. This works just fine. However, one of the attributes of the "part" is a foreign key to a list of manufacturers products. I want to have the one "add part for
2006 May 25
13
functions calling functions
I think I may be missing a fundamental concept I hope someone can help me with. I have functions that won''t call other functions. Particularly after an Ajax request. In the following object the ajax request onComplete calls the ajaxFetched function successfully. ajaxFetched tries to call function2 but function2 does not execute. Any ideas or workarounds? thanks Kevin o =
2008 Jun 04
1
new to prototype : Ajax.Updater
hey guys.. im a prototype rookie here.. the concept of "a framework for javascript" seemed mouth watering.. but my rails got stuck when i started using it. here is the guinea pig im using to experiment on prototype. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html
2011 Mar 02
2
Nested forms validation problem
Hi All, I''m trying to learn Ruby on Rails and have got an issue with the validation of a nested form. I think I have got it setup correctly as it appears to be saving the data as expected, but it is not wrapping the CSS class (field_with_errors) to the fields, and if data is entered into the nested fields it disappears on form submit (if there are validation errors). The validation
2006 Feb 16
1
file_column problem
I cannot get the file_column plugin to work. Probably something stupid I am doing wrong as I am pretty much a newbie... 1. I added a varchar column to my table called "image" 2. This is my class: class User < ActiveRecord::Base file_column :image, :magick => { :geometry => "80x80>" } attr_accessor :new_password ... rest of class 3. In my controller I