I need an AJAX script developing that will retrieve data across domains, then put the data into a list/menu then when a option is selected in the menu i need the script to retrieve data from another domain and display it in a form text field.

I also need the script to handle error (display an alert if there is no results on the external domain)

I have had ago off doing the script myself but it is taking me far to long as i am not very good with JavaScript

You can base the new script on the script below or re-write a new one.

<script type="text/javascript">

function xss_ajax(url) {

var script_id = null;

var script = [url removed, login to view]('script');

[url removed, login to view]('type', 'text/javascript');

[url removed, login to view]('src', url);

[url removed, login to view]('id', 'script_id');

script_id = [url removed, login to view]('script_id');


[url removed, login to view]('head')[0].removeChild(script_id);


// Insert <script> into DOM

[url removed, login to view]('head')[0].appendChild(script);


function callback(data) {

var txt = '';

for(var key in data) {

txt += data[key];


var divName = 'dynamicInput';

var newdiv = [url removed, login to view]('div');

[url removed, login to view] = "<input type='text' name='myInputs[]' value=" + txt + ">";

[url removed, login to view](divName).appendChild(newdiv);


var url = "[url removed, login to view]";


Kemahiran: AJAX, Javascript

Lihat lagi: ajax cross domain, cross domain javascript, cross domain script, php script null, callback url, dom, cross domain, ajax development, display ajax, script head http, javascript callback, display url javascript, script alert, php head script, need option script, script src, insert txt, ajax write text, javascript write display, retrieve url, php cross domain, script function, javascript insert text, javascript error null, text form field option

Tentang Majikan:
( 1 ulasan ) Upton, United Kingdom

ID Projek: #1588433

Dianugerahkan kepada:


Hi, I am ready to start on this project.

$100 USD dalam 0 hari
(34 Ulasan)

4 pekerja bebas membida secara purata $181 untuk pekerjaan ini


Hello, I am interested in your project and ready to help you. Please check pm, thanks.

$125 USD dalam 3 hari
(137 Ulasan)

Pls check PMB.

$250 USD dalam sehari
(0 Ulasan)

I've written tons of these before. Very easy to do.

$250 USD dalam 0 hari
(0 Ulasan)