search for: maincontent

Displaying 4 results from an estimated 4 matches for "maincontent".

2006 Jun 16
3
onCreate not getting triggered.
...ng triggered. The onComplete does. function loadComponent(section){ values = arguments[1] pars = $H(values).toQueryString() pars = "section="+section+"&"+pars var url = ''/internal/ajax/requests.php''; var ComponentLoader = new Ajax.Updater(''maincontent'', url, { asynchronous:true, onCreate: function() { loadingRequest(''mc_loader'', ''maincontent''); }, onComplete: function() { completedRequest(''mc_loader'', ''maincontent''); }, method: ''post''...
2012 Jun 01
1
Help with this web scrape function
...de in the forms does not really matter, I get quite far, pls see the code: library(RCurl) library(RHTMLForms) library(XML) pageForms = getHTMLFormDescription("http://toast.gasunie.de/gud/search.aspx?soid=GUD&lang=de") fun = createFunction(pageForms[[1]]) retSubmit = fun('ctl00$MainContent$GasQuality' = "H", 'ctl00$MainContent$PointList' = "H071", 'ctl00$MainContent$PointType' = "EN", 'ctl00$MainContent$Publishers' = "HourValues", 'ctl00$MainContent$ListHourValues' = "-1", 'ctl00_MainContent_web...
2005 Dec 26
0
[rjs] How can I render a action template instead of partial
Hi, I want to render a action template with rjs, so instead of doing this: page.replace_html ''maincontent'', :partial => ''list'' I want to do this: page.replace_html ''maincontent'', :action => ''list'' but the render (that is called by replace_html, outputs to the reponds_body), so it doesn''t work. Is there a way of doing this,...
2007 Sep 28
1
evalJSON problem
...39;myactions.php'', { method:''get'', parameters: {action:''bringeditor'', id:<?php echo $uid; ?>}, onSuccess: function(transport){ var response = transport.responseText; var data = response.evalJSON(); $(''maincontent'').innerHTML=data.mytextarea; eval(data.jsaction);*/ }, onFailure: function(){ alert(''Something went wrong...'') } }); and in ''myactions.php'' : $textarea= "<textarea id=''MyTextarea'' name=''MyTextarea...