Hi,

 

In application I’m working in there is _javascript_ where we can add new person.

There is something wrong with url. When I try to save user I get on the console following error:

ReferenceError: myHostPersonAdd is not defined

Can you have a look for addPerson function and maybe advise what is wrong here.

Thanks

Regards,

Rafal

 

function addPerson() {

 

       var personjson = '{\".... \"}';

 

        Ext.Ajax.defaultHeaders = { 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' };

        Ext.Ajax.request({

           url: myHostPersonAdd+'&jsond='+personjson,

           method: 'GET',

 


--
You received this message because you are subscribed to the Google Groups "JPassion.com: Web Programming Basics" group.
To unsubscribe from this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jpassion_web?hl=en-US.
 
 

Reply via email to