hello all.
I need some help in understanding XPath selection in JQuery:
i.e. i have this html code:
html
head
script language='javascript' src='jquery.js'/script
script language='javascript'
function f()
{
alert($('//body/div'));
}
/script
/head
version of jquery is 1.3.2
So, i've figured out why that happens: in case of ff and chrome that
is just some security policy, which forbids to do post on remote
host. Solution is quite simple - place controller and hmtl page with
your scripts on same host, and after that parameter url in $.ajax
post will transformed to
good day guys!
i have next code in my js-script:
$.ajax({
url: 'http://localhost:9090/api?callback=?_=?',
type: 'post',
dataType: 'json',
data: {sites :$.toJSON(in_res),
out_res_http:
4 matches
Mail list logo