when I tried below, it worked
I could receive the file at server end through params[:charts_file].
Now i wanted to have it ajax so I just added the ‘onSubmit’ like below,
and it didnt work …
when I tried below, it worked
I could receive the file at server end through params[:charts_file].
Now i wanted to have it ajax so I just added the ‘onSubmit’ like below,
and it didnt work …
one correction to above
please read following occurrence
<input type=“button” name=“submit” class=“button_light” value=“Upload”
as
<input type=“submit” name=“submit” class=“button_light” value=“Upload”
thanks
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs