dbottillo
15 Sep 2010, 6:00 AM
Hi,
how can i call a url outside domain when i submit a form?
simple a i have a list and i want to make a form to get parameters to send to a back_end
and then i want to reload list with an update
like
list of 10 items
form -> some params
call to back_end with this params
list of 7 items
if i do
var searchPanel = new Ext.form.FormPanel({
scroll: 'vertical',
url: 'mybackend.json',
standardSubmit : false,
....
on submit, chrome say
'XMLHttpRequest cannot load mybackend.json. Origin http://site.test is not allowed by Access-Control-Allow-Origin.'
thank you
Daniele
how can i call a url outside domain when i submit a form?
simple a i have a list and i want to make a form to get parameters to send to a back_end
and then i want to reload list with an update
like
list of 10 items
form -> some params
call to back_end with this params
list of 7 items
if i do
var searchPanel = new Ext.form.FormPanel({
scroll: 'vertical',
url: 'mybackend.json',
standardSubmit : false,
....
on submit, chrome say
'XMLHttpRequest cannot load mybackend.json. Origin http://site.test is not allowed by Access-Control-Allow-Origin.'
thank you
Daniele