On 27 June 2015 at 20:50, Marco Dias wrote:
> And how do I write these 11 lines
> in Rails ? I'm pretty new to Rails.
I suggest you start by working right through a good tutorial such as
railstutorial.org (which is free to use online). That will show you
the basics of rails.
Colin
--
You rece
On Sat, Jun 27, 2015 at 12:50 PM, Marco Dias wrote:
> I have a small PHP service that is being called in a JavaScript file by AJAX :
> I need to use this in my Rails application. I was wondering if I could
> put the .php file in a Rails folder, and simply call it.
No.
> Or if there's a way to d
On Jun 27, 2015, at 3:50 PM, Marco Dias wrote:
> I have a small PHP service that is being called in a JavaScript file by
> AJAX :
>
>$.ajax({
>type: "GET",
>url: "getDate.php",
>dataType:"json",
>data :{
> fromDate:fromDate,
> toDate:toDate
>},
>success: fu
I have a small PHP service that is being called in a JavaScript file by
AJAX :
$.ajax({
type: "GET",
url: "getDate.php",
dataType:"json",
data :{
fromDate:fromDate,
toDate:toDate
},
success: function(data) {
..
}
});
This service co
4 matches
Mail list logo